stash: recognize "--help" for subcommands
commit5ba28313f29bcc2e8571c4b325646fecfbe238df
authorJeff King <peff@peff.net>
Wed, 20 May 2015 18:17:46 +0000 (20 14:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2015 20:47:41 +0000 (20 13:47 -0700)
tree81cd6d6d4f3ec5a0e32bc43f75a5bda5fef2cb56
parentd6cc2df5c80dc4f52a56679baa5e32539eb028b1
stash: recognize "--help" for subcommands

If you run "git stash --help", you get the help for stash
(this magic is done by the git wrapper itself). But if you
run "git stash drop --help", you get an error. We
cannot show help specific to "stash drop", of course, but we
can at least give the user the normal stash manpage.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh