diff --git a/weave b/weave index d1a4f716..166386ff 100755 --- a/weave +++ b/weave @@ -222,9 +222,11 @@ kill_container() { [ "$1" = "--local" ] && shift 1 && IS_LOCAL=1 -# "--help|help" are special because we always want to process them -# at the client end. -handle_help_arg "$1" || handle_help_arg "--$1" +# "--help|help" and " --help" are special because we always want to +# process them at the client end. +handle_help_arg "$1" +handle_help_arg "--$1" +handle_help_arg "$2" if [ "$1" = "version" -a -z "$IS_LOCAL" ] ; then # non-local "version" is special because we want to show the @@ -1343,8 +1345,6 @@ fi COMMAND=$1 shift 1 -handle_help_arg "$1" - case "$COMMAND" in setup) for img in $IMAGE $EXEC_IMAGE $WEAVEDB_IMAGE ; do