tests/test-help.out
changeset 11321 40c06bbf58be
parent 11193 687c7d395f20
child 11356 511445840148
equal deleted inserted replaced
11320:e4274f9f97c8 11321:40c06bbf58be
   215       summarize working directory state
   215       summarize working directory state
   216  update, up, checkout, co:
   216  update, up, checkout, co:
   217       update working directory (or switch revisions)
   217       update working directory (or switch revisions)
   218 
   218 
   219 global options:
   219 global options:
   220  -R --repository      repository root directory or name of overlay bundle file
   220  -R --repository REPO    repository root directory or name of overlay bundle
   221     --cwd             change working directory
   221                          file
   222  -y --noninteractive  do not prompt, assume 'yes' for any required answers
   222     --cwd DIR            change working directory
   223  -q --quiet           suppress output
   223  -y --noninteractive     do not prompt, assume 'yes' for any required answers
   224  -v --verbose         enable additional output
   224  -q --quiet              suppress output
   225     --config          set/override config option (use 'section.name=value')
   225  -v --verbose            enable additional output
   226     --debug           enable debugging output
   226     --config CONFIG [+]  set/override config option (use 'section.name=value')
   227     --debugger        start debugger
   227     --debug              enable debugging output
   228     --encoding        set the charset encoding (default: ascii)
   228     --debugger           start debugger
   229     --encodingmode    set the charset encoding mode (default: strict)
   229     --encoding ENCODE    set the charset encoding (default: ascii)
   230     --traceback       always print a traceback on exception
   230     --encodingmode MODE  set the charset encoding mode (default: strict)
   231     --time            time how long the command takes
   231     --traceback          always print a traceback on exception
   232     --profile         print command execution profile
   232     --time               time how long the command takes
   233     --version         output version information and exit
   233     --profile            print command execution profile
   234  -h --help            display help and exit
   234     --version            output version information and exit
       
   235  -h --help               display help and exit
       
   236 
       
   237 [+] marked option can be specified multiple times
   235 
   238 
   236 use "hg help" for the full list of commands
   239 use "hg help" for the full list of commands
   237 hg add [OPTION]... [FILE]...
   240 hg add [OPTION]... [FILE]...
   238 
   241 
   239 add the specified files on the next commit
   242 add the specified files on the next commit
   247 
   250 
   248 use "hg -v help add" to show verbose help
   251 use "hg -v help add" to show verbose help
   249 
   252 
   250 options:
   253 options:
   251 
   254 
   252  -I --include  include names matching the given patterns
   255  -I --include PATTERN [+]  include names matching the given patterns
   253  -X --exclude  exclude names matching the given patterns
   256  -X --exclude PATTERN [+]  exclude names matching the given patterns
   254  -n --dry-run  do not perform actions, just print output
   257  -n --dry-run              do not perform actions, just print output
       
   258 
       
   259 [+] marked option can be specified multiple times
   255 
   260 
   256 use "hg -v help add" to show global options
   261 use "hg -v help add" to show global options
   257 %% verbose help for add
   262 %% verbose help for add
   258 hg add [OPTION]... [FILE]...
   263 hg add [OPTION]... [FILE]...
   259 
   264 
   278       $ hg status
   283       $ hg status
   279       A foo.c
   284       A foo.c
   280 
   285 
   281 options:
   286 options:
   282 
   287 
   283  -I --include         include names matching the given patterns
   288  -I --include PATTERN [+]  include names matching the given patterns
   284  -X --exclude         exclude names matching the given patterns
   289  -X --exclude PATTERN [+]  exclude names matching the given patterns
   285  -n --dry-run         do not perform actions, just print output
   290  -n --dry-run              do not perform actions, just print output
   286 
   291 
   287 global options:
   292 global options:
   288  -R --repository      repository root directory or name of overlay bundle file
   293  -R --repository REPO      repository root directory or name of overlay bundle
   289     --cwd             change working directory
   294                            file
   290  -y --noninteractive  do not prompt, assume 'yes' for any required answers
   295     --cwd DIR              change working directory
   291  -q --quiet           suppress output
   296  -y --noninteractive       do not prompt, assume 'yes' for any required
   292  -v --verbose         enable additional output
   297                            answers
   293     --config          set/override config option (use 'section.name=value')
   298  -q --quiet                suppress output
   294     --debug           enable debugging output
   299  -v --verbose              enable additional output
   295     --debugger        start debugger
   300     --config CONFIG [+]    set/override config option (use
   296     --encoding        set the charset encoding (default: ascii)
   301                            'section.name=value')
   297     --encodingmode    set the charset encoding mode (default: strict)
   302     --debug                enable debugging output
   298     --traceback       always print a traceback on exception
   303     --debugger             start debugger
   299     --time            time how long the command takes
   304     --encoding ENCODE      set the charset encoding (default: ascii)
   300     --profile         print command execution profile
   305     --encodingmode MODE    set the charset encoding mode (default: strict)
   301     --version         output version information and exit
   306     --traceback            always print a traceback on exception
   302  -h --help            display help and exit
   307     --time                 time how long the command takes
       
   308     --profile              print command execution profile
       
   309     --version              output version information and exit
       
   310  -h --help                 display help and exit
       
   311 
       
   312 [+] marked option can be specified multiple times
   303 %% test help option with version option
   313 %% test help option with version option
   304 Mercurial Distributed SCM (version xxx)
   314 Mercurial Distributed SCM (version xxx)
   305 
   315 
   306 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
   316 Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
   307 This is free software; see the source for copying conditions. There is NO
   317 This is free software; see the source for copying conditions. There is NO
   320 
   330 
   321 use "hg -v help add" to show verbose help
   331 use "hg -v help add" to show verbose help
   322 
   332 
   323 options:
   333 options:
   324 
   334 
   325  -I --include  include names matching the given patterns
   335  -I --include PATTERN [+]  include names matching the given patterns
   326  -X --exclude  exclude names matching the given patterns
   336  -X --exclude PATTERN [+]  exclude names matching the given patterns
   327  -n --dry-run  do not perform actions, just print output
   337  -n --dry-run              do not perform actions, just print output
       
   338 
       
   339 [+] marked option can be specified multiple times
   328 
   340 
   329 use "hg -v help add" to show global options
   341 use "hg -v help add" to show global options
   330 hg add: option --skjdfks not recognized
   342 hg add: option --skjdfks not recognized
   331 hg add [OPTION]... [FILE]...
   343 hg add [OPTION]... [FILE]...
   332 
   344 
   341 
   353 
   342 use "hg -v help add" to show verbose help
   354 use "hg -v help add" to show verbose help
   343 
   355 
   344 options:
   356 options:
   345 
   357 
   346  -I --include  include names matching the given patterns
   358  -I --include PATTERN [+]  include names matching the given patterns
   347  -X --exclude  exclude names matching the given patterns
   359  -X --exclude PATTERN [+]  exclude names matching the given patterns
   348  -n --dry-run  do not perform actions, just print output
   360  -n --dry-run              do not perform actions, just print output
       
   361 
       
   362 [+] marked option can be specified multiple times
   349 
   363 
   350 use "hg -v help add" to show global options
   364 use "hg -v help add" to show global options
   351 %% test ambiguous command help
   365 %% test ambiguous command help
   352 list of commands:
   366 list of commands:
   353 
   367 
   399 
   413 
   400     Returns 0 on success.
   414     Returns 0 on success.
   401 
   415 
   402 options:
   416 options:
   403 
   417 
   404  -r --rev                  revision
   418  -r --rev REV [+]          revision
   405  -c --change               change made by revision
   419  -c --change REV           change made by revision
   406  -a --text                 treat all files as text
   420  -a --text                 treat all files as text
   407  -g --git                  use git extended diff format
   421  -g --git                  use git extended diff format
   408     --nodates              omit dates from diff headers
   422     --nodates              omit dates from diff headers
   409  -p --show-function        show which function each change is in
   423  -p --show-function        show which function each change is in
   410     --reverse              produce a diff that undoes the changes
   424     --reverse              produce a diff that undoes the changes
   411  -w --ignore-all-space     ignore white space when comparing lines
   425  -w --ignore-all-space     ignore white space when comparing lines
   412  -b --ignore-space-change  ignore changes in the amount of white space
   426  -b --ignore-space-change  ignore changes in the amount of white space
   413  -B --ignore-blank-lines   ignore changes whose lines are all blank
   427  -B --ignore-blank-lines   ignore changes whose lines are all blank
   414  -U --unified              number of lines of context to show
   428  -U --unified NUM          number of lines of context to show
   415     --stat                 output diffstat-style summary of changes
   429     --stat                 output diffstat-style summary of changes
   416  -I --include              include names matching the given patterns
   430  -I --include PATTERN [+]  include names matching the given patterns
   417  -X --exclude              exclude names matching the given patterns
   431  -X --exclude PATTERN [+]  exclude names matching the given patterns
       
   432 
       
   433 [+] marked option can be specified multiple times
   418 
   434 
   419 use "hg -v help diff" to show global options
   435 use "hg -v help diff" to show global options
   420 hg status [OPTION]... [FILE]...
   436 hg status [OPTION]... [FILE]...
   421 
   437 
   422 aliases: st
   438 aliases: st
   455 
   471 
   456     Returns 0 on success.
   472     Returns 0 on success.
   457 
   473 
   458 options:
   474 options:
   459 
   475 
   460  -A --all        show status of all files
   476  -A --all                  show status of all files
   461  -m --modified   show only modified files
   477  -m --modified             show only modified files
   462  -a --added      show only added files
   478  -a --added                show only added files
   463  -r --removed    show only removed files
   479  -r --removed              show only removed files
   464  -d --deleted    show only deleted (but tracked) files
   480  -d --deleted              show only deleted (but tracked) files
   465  -c --clean      show only files without changes
   481  -c --clean                show only files without changes
   466  -u --unknown    show only unknown (not tracked) files
   482  -u --unknown              show only unknown (not tracked) files
   467  -i --ignored    show only ignored files
   483  -i --ignored              show only ignored files
   468  -n --no-status  hide status prefix
   484  -n --no-status            hide status prefix
   469  -C --copies     show source of copied files
   485  -C --copies               show source of copied files
   470  -0 --print0     end filenames with NUL, for use with xargs
   486  -0 --print0               end filenames with NUL, for use with xargs
   471     --rev        show difference from revision
   487     --rev REV [+]          show difference from revision
   472     --change     list the changed files of a revision
   488     --change REV           list the changed files of a revision
   473  -I --include    include names matching the given patterns
   489  -I --include PATTERN [+]  include names matching the given patterns
   474  -X --exclude    exclude names matching the given patterns
   490  -X --exclude PATTERN [+]  exclude names matching the given patterns
       
   491 
       
   492 [+] marked option can be specified multiple times
   475 
   493 
   476 use "hg -v help status" to show global options
   494 use "hg -v help status" to show global options
   477 hg status [OPTION]... [FILE]...
   495 hg status [OPTION]... [FILE]...
   478 
   496 
   479 show changed files in the working directory
   497 show changed files in the working directory