Commit 92770244 authored by Vincent Driessen's avatar Vincent Driessen

Fix: error message for "Unknown subcommand"

parent 3c337fb5
......@@ -90,7 +90,7 @@ main() {
SUBACTION="$1"; shift
fi
if ! typeset -f "cmd_$SUBACTION" 2>&1 >/dev/null; then
warn "Unknown subcommand: '$1'"
warn "Unknown subcommand: '$SUBACTION'"
usage
exit 1
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