Browse Source

small corrections to error messages in option.parse

Jaromil 2 years ago
parent
commit
40e808ec03
1 changed files with 3 additions and 3 deletions
  1. 3 3
      zuper

+ 3 - 3
zuper

@@ -961,7 +961,7 @@ option.parse() {
961 961
         zparseopts -M -E -D -Aoption ${cmd_opts}
962 962
         if [[ $? != 0 ]]; then
963 963
             _warning "Some error occurred during option processing."
964
-            _failure "See \"sdk help\" for more info."
964
+            _failure "See zuper option.parse for more info."
965 965
 			return 1
966 966
         fi
967 967
     fi
@@ -986,9 +986,9 @@ option.parse() {
986 986
     ### End parsing command-specific options
987 987
 
988 988
     [[ "$option_params" == "" ]] && {
989
-        func "sdk command: ::1 subcommand::" $subcommand
989
+        func "arg command: ::1 subcommand::" $subcommand
990 990
     } || {
991
-        func "sdk command: ::1 subcommand:: ::2 param::" $subcommand $option_params
991
+        func "arg command: ::1 subcommand:: ::2 param::" $subcommand $option_params
992 992
     }
993 993
 
994 994
 }