tests/test-help.t
changeset 30993 9c2977ceaa46
parent 30916 455677a7667f
child 31008 636cf3f7620d
equal deleted inserted replaced
30992:61b4122019d3 30993:9c2977ceaa46
   324       --time              time how long the command takes
   324       --time              time how long the command takes
   325       --profile           print command execution profile
   325       --profile           print command execution profile
   326       --version           output version information and exit
   326       --version           output version information and exit
   327    -h --help              display help and exit
   327    -h --help              display help and exit
   328       --hidden            consider hidden changesets
   328       --hidden            consider hidden changesets
       
   329       --pager TYPE        when to paginate (boolean, always, auto, or never)
       
   330                           (default: auto)
   329   
   331   
   330   (use 'hg help' for the full list of commands)
   332   (use 'hg help' for the full list of commands)
   331 
   333 
   332   $ hg add -h
   334   $ hg add -h
   333   hg add [OPTION]... [FILE]...
   335   hg add [OPTION]... [FILE]...
   420       --time              time how long the command takes
   422       --time              time how long the command takes
   421       --profile           print command execution profile
   423       --profile           print command execution profile
   422       --version           output version information and exit
   424       --version           output version information and exit
   423    -h --help              display help and exit
   425    -h --help              display help and exit
   424       --hidden            consider hidden changesets
   426       --hidden            consider hidden changesets
       
   427       --pager TYPE        when to paginate (boolean, always, auto, or never)
       
   428                           (default: auto)
   425 
   429 
   426 Test the textwidth config option
   430 Test the textwidth config option
   427 
   431 
   428   $ hg root -h  --config ui.textwidth=50
   432   $ hg root -h  --config ui.textwidth=50
   429   hg root
   433   hg root
  2521   <td>--help</td>
  2525   <td>--help</td>
  2522   <td>display help and exit</td></tr>
  2526   <td>display help and exit</td></tr>
  2523   <tr><td></td>
  2527   <tr><td></td>
  2524   <td>--hidden</td>
  2528   <td>--hidden</td>
  2525   <td>consider hidden changesets</td></tr>
  2529   <td>consider hidden changesets</td></tr>
       
  2530   <tr><td></td>
       
  2531   <td>--pager TYPE</td>
       
  2532   <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr>
  2526   </table>
  2533   </table>
  2527   
  2534   
  2528   </div>
  2535   </div>
  2529   </div>
  2536   </div>
  2530   </div>
  2537   </div>
  2716   <td>--help</td>
  2723   <td>--help</td>
  2717   <td>display help and exit</td></tr>
  2724   <td>display help and exit</td></tr>
  2718   <tr><td></td>
  2725   <tr><td></td>
  2719   <td>--hidden</td>
  2726   <td>--hidden</td>
  2720   <td>consider hidden changesets</td></tr>
  2727   <td>consider hidden changesets</td></tr>
       
  2728   <tr><td></td>
       
  2729   <td>--pager TYPE</td>
       
  2730   <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr>
  2721   </table>
  2731   </table>
  2722   
  2732   
  2723   </div>
  2733   </div>
  2724   </div>
  2734   </div>
  2725   </div>
  2735   </div>