Commit 92770244 authored by Vincent Driessen's avatar Vincent Driessen

Fix: error message for "Unknown subcommand"

parent 3c337fb5
...@@ -90,7 +90,7 @@ main() { ...@@ -90,7 +90,7 @@ main() {
SUBACTION="$1"; shift SUBACTION="$1"; shift
fi fi
if ! typeset -f "cmd_$SUBACTION" 2>&1 >/dev/null; then if ! typeset -f "cmd_$SUBACTION" 2>&1 >/dev/null; then
warn "Unknown subcommand: '$1'" warn "Unknown subcommand: '$SUBACTION'"
usage usage
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment