comparison tests/test-help.t @ 22118:9a299c39de01

help: normalize helplist hints
author Matt Mackall <mpm@selenic.com>
date Tue, 12 Aug 2014 04:11:32 -0500
parents c1d93edcf004
children edf07a804ac4
comparison
equal deleted inserted replaced
22117:c1d93edcf004 22118:9a299c39de01
21 serve start stand-alone webserver 21 serve start stand-alone webserver
22 status show changed files in the working directory 22 status show changed files in the working directory
23 summary summarize working directory state 23 summary summarize working directory state
24 update update working directory (or switch revisions) 24 update update working directory (or switch revisions)
25 25
26 use "hg help" for the full list of commands or "hg -v" for details 26 (use "hg help" for the full list of commands or "hg -v" for details)
27 27
28 $ hg -q 28 $ hg -q
29 add add the specified files on the next commit 29 add add the specified files on the next commit
30 annotate show changeset information by line for each file 30 annotate show changeset information by line for each file
31 clone make a copy of an existing repository 31 clone make a copy of an existing repository
120 revsets Specifying Revision Sets 120 revsets Specifying Revision Sets
121 subrepos Subrepositories 121 subrepos Subrepositories
122 templating Template Usage 122 templating Template Usage
123 urls URL Paths 123 urls URL Paths
124 124
125 use "hg -v help" to show builtin aliases and global options 125 (use "hg help -v" to show built-in aliases and global options)
126 126
127 $ hg -q help 127 $ hg -q help
128 add add the specified files on the next commit 128 add add the specified files on the next commit
129 addremove add all new files, delete all missing files 129 addremove add all new files, delete all missing files
130 annotate show changeset information by line for each file 130 annotate show changeset information by line for each file
324 --profile print command execution profile 324 --profile print command execution profile
325 --version output version information and exit 325 --version output version information and exit
326 -h --help display help and exit 326 -h --help display help and exit
327 --hidden consider hidden changesets 327 --hidden consider hidden changesets
328 328
329 use "hg help" for the full list of commands 329 (use "hg help" for the full list of commands)
330 330
331 $ hg add -h 331 $ hg add -h
332 hg add [OPTION]... [FILE]... 332 hg add [OPTION]... [FILE]...
333 333
334 add the specified files on the next commit 334 add the specified files on the next commit
439 list of commands: 439 list of commands:
440 440
441 add add the specified files on the next commit 441 add add the specified files on the next commit
442 addremove add all new files, delete all missing files 442 addremove add all new files, delete all missing files
443 443
444 use "hg -v help ad" to show builtin aliases and global options 444 (use "hg help -v ad" to show built-in aliases and global options)
445 445
446 Test command without options 446 Test command without options
447 447
448 $ hg help verify 448 $ hg help verify
449 hg verify 449 hg verify
608 serve start stand-alone webserver 608 serve start stand-alone webserver
609 status show changed files in the working directory 609 status show changed files in the working directory
610 summary summarize working directory state 610 summary summarize working directory state
611 update update working directory (or switch revisions) 611 update update working directory (or switch revisions)
612 612
613 use "hg help" for the full list of commands or "hg -v" for details 613 (use "hg help" for the full list of commands or "hg -v" for details)
614 [255] 614 [255]
615 615
616 616
617 $ cat > helpext.py <<EOF 617 $ cat > helpext.py <<EOF
618 > import os 618 > import os
742 revsets Specifying Revision Sets 742 revsets Specifying Revision Sets
743 subrepos Subrepositories 743 subrepos Subrepositories
744 templating Template Usage 744 templating Template Usage
745 urls URL Paths 745 urls URL Paths
746 746
747 use "hg -v help" to show builtin aliases and global options 747 (use "hg help -v" to show built-in aliases and global options)
748 748
749 749
750 Test list of internal help commands 750 Test list of internal help commands
751 751
752 $ hg help debug 752 $ hg help debug
804 show set of successors for revision 804 show set of successors for revision
805 debugwalk show how files match on given patterns 805 debugwalk show how files match on given patterns
806 debugwireargs 806 debugwireargs
807 (no help text available) 807 (no help text available)
808 808
809 use "hg -v help debug" to show builtin aliases and global options 809 (use "hg help -v debug" to show built-in aliases and global options)
810 810
811 811
812 Test list of commands with command with no help text 812 Test list of commands with command with no help text
813 813
814 $ hg help helpext 814 $ hg help helpext
816 816
817 list of commands: 817 list of commands:
818 818
819 nohelp (no help text available) 819 nohelp (no help text available)
820 820
821 use "hg -v help helpext" to show builtin aliases and global options 821 (use "hg help -v helpext" to show built-in aliases and global options)
822 822
823 823
824 test deprecated option is hidden in command help 824 test deprecated option is hidden in command help
825 $ hg help debugoptDEP 825 $ hg help debugoptDEP
826 hg debugoptDEP 826 hg debugoptDEP