Skip to content

Commit

Permalink
puppet: Exit early on -h|-V|--version in addition to --help
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 2, 2014
1 parent 0bbcc47 commit f94d1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/puppet
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ _puppet()
local xspec helpopts subcommand action

case $prev in
--help)
-h|--help|-V|--version)
return 0
;;
esac
Expand Down

0 comments on commit f94d1a6

Please sign in to comment.