summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2008-02-02 14:03:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-03 08:56:35 (GMT)
commit71bda8b923ed1bde7b831c6597af5a80213f6768 (patch)
treec35a85b8f695ea21d525a6cb7eedcafda1ab73ac /Documentation
parent6ce8e44a1eeaa07325f1304f6f392f35f54d29c7 (diff)
downloadgit-71bda8b923ed1bde7b831c6597af5a80213f6768.zip
git-71bda8b923ed1bde7b831c6597af5a80213f6768.tar.gz
git-71bda8b923ed1bde7b831c6597af5a80213f6768.tar.bz2
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')
-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 9889806..cd0dc1b 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::