]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation/git-stash.txt: Adjust SYNOPSIS command syntax (2)
authorJari Aalto <jari.aalto@cante.net>
Sat, 2 Feb 2008 14:03:48 +0000 (16:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Feb 2008 08:56:35 +0000 (00:56 -0800)
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>
Documentation/git-stash.txt

index 9889806a5ef2cf7a93ead43383920364dac90b40..cd0dc1bd9d53282d65c52e6b9ded6d40fe087598 100644 (file)
@@ -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::