comparison tests/test-fix.t @ 41010:e8e2a7656e83

help: hide default value for default-off flags If we no longer show the "[no-]" for default-off flags, it also seems unnecessary to show the "default: off" for them, since that's quite clearly the default. It's extra confusing for action flags like `hg bookmarks --delete`. Differential Revision: https://phab.mercurial-scm.org/D5455
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 19 Dec 2018 09:33:42 -0800
parents fcc0a7ac9ebd
children d8f5c615e811
comparison
equal deleted inserted replaced
41009:fcc0a7ac9ebd 41010:e8e2a7656e83
102 102
103 (use 'hg help -e fix' to show help for the fix extension) 103 (use 'hg help -e fix' to show help for the fix extension)
104 104
105 options ([+] can be repeated): 105 options ([+] can be repeated):
106 106
107 --all fix all non-public non-obsolete revisions (default: off) 107 --all fix all non-public non-obsolete revisions
108 --base REV [+] revisions to diff against (overrides automatic selection, 108 --base REV [+] revisions to diff against (overrides automatic selection,
109 and applies to every revision being fixed) 109 and applies to every revision being fixed)
110 -r --rev REV [+] revisions to fix 110 -r --rev REV [+] revisions to fix
111 -w --working-dir fix the working directory (default: off) 111 -w --working-dir fix the working directory
112 --whole always fix every line of a file (default: off) 112 --whole always fix every line of a file
113 113
114 (some details hidden, use --verbose to show complete help) 114 (some details hidden, use --verbose to show complete help)
115 115
116 $ hg help -e fix 116 $ hg help -e fix
117 fix extension - rewrite file content in changesets or working copy 117 fix extension - rewrite file content in changesets or working copy