From 8dc1c9a78f9b938cc5ea35a9fe0aaf9f2d76f68b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 11 Oct 2013 23:13:45 -0400 Subject: pro-archman: Don't print help when -V is given. --- (limited to 'src/pro-archman.sh') diff --git a/src/pro-archman.sh b/src/pro-archman.sh index 8df75f1..93fa4b5 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -94,7 +94,7 @@ main() get_options "${@}" shift $(($OPTIND - 1)) - if [ ${#} -lt 1 ]; then + if [ ${#} -lt 1 ] && [ "x${opt_cmd}" = 'x' ]; then cmd_help_main >&2 exit 1 fi -- cgit v0.9.1