diff tests/test-help.t @ 40954:8604f130eb43

help: show "default: off" for boolean flags that default to off Differential Revision: https://phab.mercurial-scm.org/D5431
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 14 Dec 2018 13:33:12 -0800
parents 05abb5fb146a
children f6187e60f792
line wrap: on
line diff
--- a/tests/test-help.t	Fri Dec 14 13:20:00 2018 -0800
+++ b/tests/test-help.t	Fri Dec 14 13:33:12 2018 -0800
@@ -440,7 +440,7 @@
       --profile           print command execution profile
       --version           output version information and exit
    -h --help              display help and exit
-      --hidden            consider hidden changesets
+      --hidden            consider hidden changesets (default: off)
       --pager TYPE        when to paginate (boolean, always, auto, or never)
                           (default: auto)
   
@@ -540,7 +540,7 @@
       --profile           print command execution profile
       --version           output version information and exit
    -h --help              display help and exit
-      --hidden            consider hidden changesets
+      --hidden            consider hidden changesets (default: off)
       --pager TYPE        when to paginate (boolean, always, auto, or never)
                           (default: auto)
 
@@ -905,7 +905,7 @@
                                     xxxxxxxxxxxxxxxxxxxxxxx (default: 3)
    -n --                            normal desc
       --newline VALUE               line1 line2
-      --default-off                 enable X
+      --default-off                 enable X (default: off)
       --default-on                  enable Y (default: on)
       --callableopt VALUE           adds foo
       --customopt VALUE             adds bar
@@ -2890,7 +2890,7 @@
   <td>display help and exit</td></tr>
   <tr><td></td>
   <td>--hidden</td>
-  <td>consider hidden changesets</td></tr>
+  <td>consider hidden changesets (default: off)</td></tr>
   <tr><td></td>
   <td>--pager TYPE</td>
   <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr>
@@ -3094,7 +3094,7 @@
   <td>display help and exit</td></tr>
   <tr><td></td>
   <td>--hidden</td>
-  <td>consider hidden changesets</td></tr>
+  <td>consider hidden changesets (default: off)</td></tr>
   <tr><td></td>
   <td>--pager TYPE</td>
   <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr>