summaryrefslogtreecommitdiffstats
path: root/src/pro-archman.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/pro-archman.sh')
-rw-r--r--src/pro-archman.sh2
1 files changed, 1 insertions, 1 deletions
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