Mercurial > hg
diff tests/test-help.t @ 46106:4a0730b7127e
diff: update synopsis to use --from/--to instead of -r
Differential Revision: https://phab.mercurial-scm.org/D9563
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 10 Dec 2020 12:06:55 -0800 |
parents | ed5a0b5d21a6 |
children | aa4dbc14f735 |
line wrap: on
line diff
--- a/tests/test-help.t Thu Dec 10 12:00:45 2020 -0800 +++ b/tests/test-help.t Thu Dec 10 12:06:55 2020 -0800 @@ -629,7 +629,7 @@ (some details hidden, use --verbose to show complete help) $ hg help diff - hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]... + hg diff [OPTION]... ([-c REV] | [--from REV1] [--to REV2]) [FILE]... diff repository (or selected files) @@ -666,8 +666,8 @@ options ([+] can be repeated): -r --rev REV [+] revision - --from REV revision to diff from - --to REV revision to diff to + --from REV1 revision to diff from + --to REV2 revision to diff to -c --change REV change made by revision -a --text treat all files as text -g --git use git extended diff format