From 3b838f4bf7b9eb834fde114b552e9aee18eeb141 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 18 Jun 2010 19:52:32 +0200 Subject: [PATCH] network: Only jump to help if the --help parameter is the next parameter. --- functions.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.cli b/functions.cli index b5112dfd..5a22a544 100644 --- a/functions.cli +++ b/functions.cli @@ -250,7 +250,7 @@ function cli_status() { function cli_help_requested() { local argument - for argument in $@; do + for argument in ${1}; do if [ "${argument}" = "help" -o "${argument}" = "-h" -o "${argument}" = "--help" ]; then return ${EXIT_OK} fi -- 2.47.3