]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation/git-worktree: associate options with commands
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 6 Jul 2015 17:30:39 +0000 (13:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2015 18:07:43 +0000 (11:07 -0700)
git-worktree options affect some worktree commands but not others, but
this is not necessarily obvious from the option descriptions. Make this
clear by indicating explicitly which commands are affected by which
options.

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

index 41103e548541f250300cfb8b5888d239fc8f6d63..1ac1217b0fd4f7c48d354bbf446d9e36313e9c0e 100644 (file)
@@ -28,15 +28,15 @@ OPTIONS
 
 -n::
 --dry-run::
-       Do not remove anything; just report what it would
+       With `prune`, do not remove anything; just report what it would
        remove.
 
 -v::
 --verbose::
-       Report all removals.
+       With `prune`, report all removals.
 
 --expire <time>::
-       Only expire unused worktrees older than <time>.
+       With `prune`, only expire unused worktrees older than <time>.
 
 SEE ALSO
 --------