Skip to content
Browse files

Fix: error message for "Unknown subcommand"

  • Loading branch information...
1 parent 3c337fb commit 9277024410e8f83c22d7d1fa79678b7a4797da43 @nvie committed Feb 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-flow
View
2 git-flow
@@ -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

0 comments on commit 9277024

Please sign in to comment.
Something went wrong with that request. Please try again.