]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-worktree.txt: unify command-line prompt in example blocks
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 9 Apr 2018 07:34:00 +0000 (03:34 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Apr 2018 09:49:24 +0000 (18:49 +0900)
The command-line prompt in the "EXAMPLES" section is "$", however,
examples in the 'git worktree list' section (oddly) use "S" as a
prompt. Fix this inconsistency by settling on "$" as prompt in all
examples.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt

index be10da13aeb0bcf8ecb92647dfb9814aed195464..70492bf6ca4da291bcee86b91ee7c08d9eb19948 100644 (file)
@@ -232,7 +232,7 @@ The worktree list command has two output formats.  The default format shows the
 details on a single line with columns.  For example:
 
 ------------
-S git worktree list
+$ git worktree list
 /path/to/bare-source            (bare)
 /path/to/linked-worktree        abcd1234 [master]
 /path/to/other-linked-worktree  1234abc  (detached HEAD)
@@ -247,7 +247,7 @@ if the value is true.  An empty line indicates the end of a worktree.  For
 example:
 
 ------------
-S git worktree list --porcelain
+$ git worktree list --porcelain
 worktree /path/to/bare-source
 bare