Mercurial > hg-stable
comparison tests/test-extension.t @ 41020: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 | 555215e2b051 |
comparison
equal
deleted
inserted
replaced
41019:fcc0a7ac9ebd | 41020:e8e2a7656e83 |
---|---|
714 --traceback always print a traceback on exception | 714 --traceback always print a traceback on exception |
715 --time time how long the command takes | 715 --time time how long the command takes |
716 --profile print command execution profile | 716 --profile print command execution profile |
717 --version output version information and exit | 717 --version output version information and exit |
718 -h --help display help and exit | 718 -h --help display help and exit |
719 --hidden consider hidden changesets (default: off) | 719 --hidden consider hidden changesets |
720 --pager TYPE when to paginate (boolean, always, auto, or never) | 720 --pager TYPE when to paginate (boolean, always, auto, or never) |
721 (default: auto) | 721 (default: auto) |
722 | 722 |
723 | 723 |
724 | 724 |
753 --traceback always print a traceback on exception | 753 --traceback always print a traceback on exception |
754 --time time how long the command takes | 754 --time time how long the command takes |
755 --profile print command execution profile | 755 --profile print command execution profile |
756 --version output version information and exit | 756 --version output version information and exit |
757 -h --help display help and exit | 757 -h --help display help and exit |
758 --hidden consider hidden changesets (default: off) | 758 --hidden consider hidden changesets |
759 --pager TYPE when to paginate (boolean, always, auto, or never) | 759 --pager TYPE when to paginate (boolean, always, auto, or never) |
760 (default: auto) | 760 (default: auto) |
761 | 761 |
762 | 762 |
763 | 763 |
1041 --traceback always print a traceback on exception | 1041 --traceback always print a traceback on exception |
1042 --time time how long the command takes | 1042 --time time how long the command takes |
1043 --profile print command execution profile | 1043 --profile print command execution profile |
1044 --version output version information and exit | 1044 --version output version information and exit |
1045 -h --help display help and exit | 1045 -h --help display help and exit |
1046 --hidden consider hidden changesets (default: off) | 1046 --hidden consider hidden changesets |
1047 --pager TYPE when to paginate (boolean, always, auto, or never) | 1047 --pager TYPE when to paginate (boolean, always, auto, or never) |
1048 (default: auto) | 1048 (default: auto) |
1049 | 1049 |
1050 Make sure that single '-v' option shows help and built-ins only for 'dodo' command | 1050 Make sure that single '-v' option shows help and built-ins only for 'dodo' command |
1051 $ hg help -v dodo | 1051 $ hg help -v dodo |
1078 --traceback always print a traceback on exception | 1078 --traceback always print a traceback on exception |
1079 --time time how long the command takes | 1079 --time time how long the command takes |
1080 --profile print command execution profile | 1080 --profile print command execution profile |
1081 --version output version information and exit | 1081 --version output version information and exit |
1082 -h --help display help and exit | 1082 -h --help display help and exit |
1083 --hidden consider hidden changesets (default: off) | 1083 --hidden consider hidden changesets |
1084 --pager TYPE when to paginate (boolean, always, auto, or never) | 1084 --pager TYPE when to paginate (boolean, always, auto, or never) |
1085 (default: auto) | 1085 (default: auto) |
1086 | 1086 |
1087 In case when extension name doesn't match any of its commands, | 1087 In case when extension name doesn't match any of its commands, |
1088 help message should ask for '-v' to get list of built-in aliases | 1088 help message should ask for '-v' to get list of built-in aliases |
1153 --traceback always print a traceback on exception | 1153 --traceback always print a traceback on exception |
1154 --time time how long the command takes | 1154 --time time how long the command takes |
1155 --profile print command execution profile | 1155 --profile print command execution profile |
1156 --version output version information and exit | 1156 --version output version information and exit |
1157 -h --help display help and exit | 1157 -h --help display help and exit |
1158 --hidden consider hidden changesets (default: off) | 1158 --hidden consider hidden changesets |
1159 --pager TYPE when to paginate (boolean, always, auto, or never) | 1159 --pager TYPE when to paginate (boolean, always, auto, or never) |
1160 (default: auto) | 1160 (default: auto) |
1161 | 1161 |
1162 $ hg help -v -e dudu | 1162 $ hg help -v -e dudu |
1163 dudu extension - | 1163 dudu extension - |
1189 --traceback always print a traceback on exception | 1189 --traceback always print a traceback on exception |
1190 --time time how long the command takes | 1190 --time time how long the command takes |
1191 --profile print command execution profile | 1191 --profile print command execution profile |
1192 --version output version information and exit | 1192 --version output version information and exit |
1193 -h --help display help and exit | 1193 -h --help display help and exit |
1194 --hidden consider hidden changesets (default: off) | 1194 --hidden consider hidden changesets |
1195 --pager TYPE when to paginate (boolean, always, auto, or never) | 1195 --pager TYPE when to paginate (boolean, always, auto, or never) |
1196 (default: auto) | 1196 (default: auto) |
1197 | 1197 |
1198 Disabled extension commands: | 1198 Disabled extension commands: |
1199 | 1199 |