From b4e0c29bfefa56dd1ec22f773d51ebc216a30b76 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Sat, 11 Jan 2020 00:55:32 +0700 Subject: [PATCH] minor fix --- lib/lemper-db.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lemper-db.sh b/lib/lemper-db.sh index 679dd69..230c5f3 100755 --- a/lib/lemper-db.sh +++ b/lib/lemper-db.sh @@ -420,7 +420,7 @@ _EOF_ fi if [ -z "${DBPASS2}" ]; then - error "Please specify the new username to replace using --extra-args parameter." + error "Please specify the new password using --extra-args parameter (dbpass2)." echo "An example for passing extra arguments: --extra-args=\"dbuser2=newuser,dbhost2=127.0.0.1\"" exit 1 fi @@ -449,7 +449,7 @@ _EOF_ fi if [ -z "${DBUSER2}" ]; then - error "Please specify the new username to replace using --extra-args parameter." + error "Please specify the new username using --extra-args parameter (dbuser2)." echo "An example for passing extra arguments: --extra-args=\"dbuser2=newuser,dbhost2=127.0.0.1\"" exit 1 fi @@ -818,7 +818,7 @@ function init_db_app() { "cmd_${SUBCMD}" "$@" else echo "${CMD_PARENT} ${CMD_NAME}: unrecognized command '${SUBCMD}'" >&2 - echo "Run '${APP_NAME} --help' for a list of known commands." >&2 + echo "Run '${CMD_PARENT} ${CMD_NAME} --help' for a list of known commands." >&2 exit 1 fi ;;