]> git.ipfire.org Git - thirdparty/git.git/commit - git-stash.sh
git-stash: Display help message if git-stash is run with wrong sub-commands
authorKevin Leung <kevinlsk@gmail.com>
Mon, 3 Dec 2007 02:34:05 +0000 (10:34 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Dec 2007 02:51:09 +0000 (18:51 -0800)
commit683befa1788a216ac31f68bb6e8ae906fd511ab2
tree4fb1c1dab03d7fe37035618da945ffce2f4c4220
parent6e9e0327b7d7f384d8a223b4bc40330ef3e7fb61
git-stash: Display help message if git-stash is run with wrong sub-commands

The current git-stash behaviour is very error prone to typos. For example,
if you typed "git-stash llist", git-stash would think that you wanted to
save to a stash named "llist", but in fact, you meant "git-stash list".

Signed-off-by: Kevin Leung <kevinlsk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh