summaryrefslogtreecommitdiff
path: root/Documentation/git-stash.txt
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2008-02-02 16:03:48 +0200
committerJunio C Hamano <gitster@pobox.com>2008-02-03 00:56:35 -0800
commit71bda8b923ed1bde7b831c6597af5a80213f6768 (patch)
treec35a85b8f695ea21d525a6cb7eedcafda1ab73ac /Documentation/git-stash.txt
parent6ce8e44a1eeaa07325f1304f6f392f35f54d29c7 (diff)
downloadgit-71bda8b923ed1bde7b831c6597af5a80213f6768.tar.gz
Documentation/git-stash.txt: Adjust SYNOPSIS command syntax (2)
Adjust the command syntax to better reflect the call parameters: [save] [message...] => [save [<message>]]. Signed-off-by: Jari Aalto <jari.aalto AT cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-stash.txt')
-rw-r--r--Documentation/git-stash.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index 9889806a5e..cd0dc1bd9d 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git-stash' (list | show [<stash>] | apply [<stash>] | clear)
-'git-stash' [save] [message...]
+'git-stash' [save [<message>]]
DESCRIPTION
-----------
@@ -36,11 +36,12 @@ is also possible).
OPTIONS
-------
-save::
+save [<message>]::
Save your local modifications to a new 'stash', and run `git-reset
--hard` to revert them. This is the default action when no
- subcommand is given.
+ subcommand is given. The <message> part is optional and gives
+ the description along with the stashed state.
list::