diff options
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh index 5ad2c4b7a3..e15c12abc3 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -1,7 +1,13 @@ #!/bin/sh # Copyright (c) 2007, Nanako Shiraishi -USAGE='[ | save | list | show | apply | clear | drop | pop | create | branch ]' +dashless=$(basename "$0" | sed -e 's/-/ /') +USAGE="list [<options>] + or: $dashless (show | drop | pop ) [<stash>] + or: $dashless apply [--index] [<stash>] + or: $dashless branch <branchname> [<stash>] + or: $dashless [save [--keep-index] [<message>]] + or: $dashless clear" SUBDIRECTORY_OK=Yes OPTIONS_SPEC= |