Mercurial > hg-stable
diff tests/test-narrow-trackedcmd.t @ 40968:f6187e60f792
help: present boolean arguments as "--[no-]foo"
This should make it much more discoverable (we document it in `hg help
flags`, but most users don't think to look there).
Note that flags that default to None (and not False) will not get this
new presentation. We can change the defaults to False later for flags
where it makes sense (probably almost all boolean flags).
Differential Revision: https://phab.mercurial-scm.org/D5432
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 14 Dec 2018 13:44:46 -0800 |
parents | 8604f130eb43 |
children | fcc0a7ac9ebd |
line wrap: on
line diff
--- a/tests/test-narrow-trackedcmd.t Fri Dec 14 13:33:12 2018 -0800 +++ b/tests/test-narrow-trackedcmd.t Fri Dec 14 13:44:46 2018 -0800 @@ -99,19 +99,20 @@ options ([+] can be repeated): - --addinclude VALUE [+] new paths to include - --removeinclude VALUE [+] old paths to no longer include - --addexclude VALUE [+] new paths to exclude - --import-rules VALUE import narrowspecs from a file - --removeexclude VALUE [+] old paths to no longer exclude - --clear whether to replace the existing narrowspec - (default: off) - --force-delete-local-changes forces deletion of local changes when - narrowing (default: off) - -e --ssh CMD specify ssh command to use - --remotecmd CMD specify hg command to run on the remote side - --insecure do not verify server certificate (ignoring - web.cacerts config) + --addinclude VALUE [+] new paths to include + --removeinclude VALUE [+] old paths to no longer include + --addexclude VALUE [+] new paths to exclude + --import-rules VALUE import narrowspecs from a file + --removeexclude VALUE [+] old paths to no longer exclude + --[no-]clear whether to replace the existing + narrowspec (default: off) + --[no-]force-delete-local-changes forces deletion of local changes when + narrowing (default: off) + -e --ssh CMD specify ssh command to use + --remotecmd CMD specify hg command to run on the remote + side + --insecure do not verify server certificate + (ignoring web.cacerts config) (use 'hg tracked -h' to show more help) [255]