From 40e808ec03866b92aaa5aa461ab28974f5653e39 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Wed, 31 May 2017 06:42:48 +0200 Subject: [PATCH] small corrections to error messages in option.parse --- zuper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zuper b/zuper index 6d0cbf9..1c1d341 100755 --- a/zuper +++ b/zuper @@ -961,7 +961,7 @@ option.parse() { zparseopts -M -E -D -Aoption ${cmd_opts} if [[ $? != 0 ]]; then _warning "Some error occurred during option processing." - _failure "See \"sdk help\" for more info." + _failure "See zuper option.parse for more info." return 1 fi fi @@ -986,9 +986,9 @@ option.parse() { ### End parsing command-specific options [[ "$option_params" == "" ]] && { - func "sdk command: ::1 subcommand::" $subcommand + func "arg command: ::1 subcommand::" $subcommand } || { - func "sdk command: ::1 subcommand:: ::2 param::" $subcommand $option_params + func "arg command: ::1 subcommand:: ::2 param::" $subcommand $option_params } }