File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ _checkReleasesJsonFile() {
320320 done
321321
322322 if [[ " ${backupJson} " ]]; then
323- echo " ${backupJson} " > " ${RELEASES_JSON_FILE} "
323+ echo " ${backupJson} " > " ${RELEASES_JSON_FILE} "
324324 fi
325325
326326 return 1
@@ -741,13 +741,13 @@ cmd_init() {
741741
742742 while [[ $# -gt 0 ]]; do
743743 case " ${1} " in
744- --start)
745- shift && FLAG_START=1
746- ;;
747- * )
748- ARGS+=(" ${1} " )
749- shift
750- ;;
744+ --start)
745+ shift && FLAG_START=1
746+ ;;
747+ * )
748+ ARGS+=(" ${1} " )
749+ shift
750+ ;;
751751 esac
752752 done
753753
@@ -822,7 +822,7 @@ cmd_list() {
822822 fi
823823
824824 if ! _verifyListableEntity " ${entity} " ; then
825- closest_entity=$( _listPrefixedFunctions _list_| _fzf --filter " ${entity} " | head -n 1)
825+ closest_entity=$( _listPrefixedFunctions _list_ | _fzf --filter " ${entity} " | head -n 1)
826826
827827 if _verifyListableEntity " ${closest_entity} " && _confirm " Entity \" ${entity} \" is unknown. Use closest entity \" ${closest_entity} \" instead?" ; then
828828 entity=${closest_entity}
@@ -861,12 +861,12 @@ cmd_share() {
861861
862862 while [[ $# -gt 0 ]]; do
863863 case " ${1} " in
864- --export)
865- shift && FLAG_EXPORT=1
866- ;;
867- * )
868- shift
869- ;;
864+ --export)
865+ shift && FLAG_EXPORT=1
866+ ;;
867+ * )
868+ shift
869+ ;;
870870 esac
871871 done
872872
@@ -925,12 +925,12 @@ cmd_update() {
925925
926926 while [[ $# -gt 0 ]]; do
927927 case " ${1} " in
928- --unstable)
929- shift && FLAG_UNSTABLE=1
930- ;;
931- * )
932- shift
933- ;;
928+ --unstable)
929+ shift && FLAG_UNSTABLE=1
930+ ;;
931+ * )
932+ shift
933+ ;;
934934 esac
935935 done
936936
@@ -1013,20 +1013,20 @@ REST_ARGS=()
10131013
10141014while [[ $# -gt 0 ]]; do
10151015 case " ${1} " in
1016- -p| --project)
1017- OPTION_PROJECT=" ${2} "
1018- [[ " ${2} " ]] || _errorExit " ${1} requires a value"
1019- shift
1020- shift
1021- ;;
1022- * )
1023- if [[ -z " ${COMMAND} " ]]; then
1024- COMMAND=" ${1} "
1025- else
1026- REST_ARGS+=(" ${1} " )
1027- fi
1028- shift
1029- ;;
1016+ -p | --project)
1017+ OPTION_PROJECT=" ${2} "
1018+ [[ " ${2} " ]] || _errorExit " ${1} requires a value"
1019+ shift
1020+ shift
1021+ ;;
1022+ * )
1023+ if [[ -z " ${COMMAND} " ]]; then
1024+ COMMAND=" ${1} "
1025+ else
1026+ REST_ARGS+=(" ${1} " )
1027+ fi
1028+ shift
1029+ ;;
10301030 esac
10311031done
10321032
You can’t perform that action at this time.
0 commit comments