Mercurial > hg
comparison tests/test-help.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 | 261d37b94d31 7dc160a57025 |
comparison
equal
deleted
inserted
replaced
41009:fcc0a7ac9ebd | 41010:e8e2a7656e83 |
---|---|
438 --traceback always print a traceback on exception | 438 --traceback always print a traceback on exception |
439 --time time how long the command takes | 439 --time time how long the command takes |
440 --profile print command execution profile | 440 --profile print command execution profile |
441 --version output version information and exit | 441 --version output version information and exit |
442 -h --help display help and exit | 442 -h --help display help and exit |
443 --hidden consider hidden changesets (default: off) | 443 --hidden consider hidden changesets |
444 --pager TYPE when to paginate (boolean, always, auto, or never) | 444 --pager TYPE when to paginate (boolean, always, auto, or never) |
445 (default: auto) | 445 (default: auto) |
446 | 446 |
447 (use 'hg help' for the full list of commands) | 447 (use 'hg help' for the full list of commands) |
448 | 448 |
538 --traceback always print a traceback on exception | 538 --traceback always print a traceback on exception |
539 --time time how long the command takes | 539 --time time how long the command takes |
540 --profile print command execution profile | 540 --profile print command execution profile |
541 --version output version information and exit | 541 --version output version information and exit |
542 -h --help display help and exit | 542 -h --help display help and exit |
543 --hidden consider hidden changesets (default: off) | 543 --hidden consider hidden changesets |
544 --pager TYPE when to paginate (boolean, always, auto, or never) | 544 --pager TYPE when to paginate (boolean, always, auto, or never) |
545 (default: auto) | 545 (default: auto) |
546 | 546 |
547 Test the textwidth config option | 547 Test the textwidth config option |
548 | 548 |
903 --longdesc VALUE | 903 --longdesc VALUE |
904 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 904 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
905 xxxxxxxxxxxxxxxxxxxxxxx (default: 3) | 905 xxxxxxxxxxxxxxxxxxxxxxx (default: 3) |
906 -n -- normal desc | 906 -n -- normal desc |
907 --newline VALUE line1 line2 | 907 --newline VALUE line1 line2 |
908 --default-off enable X (default: off) | 908 --default-off enable X |
909 --[no-]default-on enable Y (default: on) | 909 --[no-]default-on enable Y (default: on) |
910 --callableopt VALUE adds foo | 910 --callableopt VALUE adds foo |
911 --customopt VALUE adds bar | 911 --customopt VALUE adds bar |
912 --customopt-withdefault VALUE adds bar (default: foo) | 912 --customopt-withdefault VALUE adds bar (default: foo) |
913 | 913 |
2888 <tr><td>-h</td> | 2888 <tr><td>-h</td> |
2889 <td>--help</td> | 2889 <td>--help</td> |
2890 <td>display help and exit</td></tr> | 2890 <td>display help and exit</td></tr> |
2891 <tr><td></td> | 2891 <tr><td></td> |
2892 <td>--hidden</td> | 2892 <td>--hidden</td> |
2893 <td>consider hidden changesets (default: off)</td></tr> | 2893 <td>consider hidden changesets</td></tr> |
2894 <tr><td></td> | 2894 <tr><td></td> |
2895 <td>--pager TYPE</td> | 2895 <td>--pager TYPE</td> |
2896 <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> | 2896 <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> |
2897 </table> | 2897 </table> |
2898 | 2898 |
3092 <tr><td>-h</td> | 3092 <tr><td>-h</td> |
3093 <td>--help</td> | 3093 <td>--help</td> |
3094 <td>display help and exit</td></tr> | 3094 <td>display help and exit</td></tr> |
3095 <tr><td></td> | 3095 <tr><td></td> |
3096 <td>--hidden</td> | 3096 <td>--hidden</td> |
3097 <td>consider hidden changesets (default: off)</td></tr> | 3097 <td>consider hidden changesets</td></tr> |
3098 <tr><td></td> | 3098 <tr><td></td> |
3099 <td>--pager TYPE</td> | 3099 <td>--pager TYPE</td> |
3100 <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> | 3100 <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> |
3101 </table> | 3101 </table> |
3102 | 3102 |