summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2015-07-06 13:30:39 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-06 11:07:43 -0700
commit4f09825e58ce1da7af8cc96bff5a6b118790fffa (patch)
treecc88a969503618285d7994f64b0944824d44c761
parentDocumentation/git-checkout: fix incorrect worktree prune command (diff)
downloadtgif-4f09825e58ce1da7af8cc96bff5a6b118790fffa.tar.xz
Documentation/git-worktree: associate options with commands
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>
-rw-r--r--Documentation/git-worktree.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index 41103e5485..1ac1217b0f 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -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
--------