Skip to content

Commit 4f09825

Browse files
sunshinecogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5c31464 commit 4f09825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git-worktree.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ OPTIONS
2828

2929
-n::
3030
--dry-run::
31-
Do not remove anything; just report what it would
31+
With `prune`, do not remove anything; just report what it would
3232
remove.
3333

3434
-v::
3535
--verbose::
36-
Report all removals.
36+
With `prune`, report all removals.
3737

3838
--expire <time>::
39-
Only expire unused worktrees older than <time>.
39+
With `prune`, only expire unused worktrees older than <time>.
4040

4141
SEE ALSO
4242
--------

0 commit comments

Comments
 (0)