Skip to content

Commit

Permalink
Documentation/git-stash.txt: Adjust SYNOPSIS command syntax (2)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jari Aalto authored and Junio C Hamano committed Feb 3, 2008
1 parent 6ce8e44 commit 71bda8b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/git-stash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git-stash' (list | show [<stash>] | apply [<stash>] | clear)
'git-stash' [save] [message...]
'git-stash' [save [<message>]]

DESCRIPTION
-----------
Expand All @@ -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::

Expand Down

0 comments on commit 71bda8b

Please sign in to comment.