diff tests/test-help.out @ 596:9a8daeff0ffa

A bunch of parsing/help updates -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A bunch of parsing/help updates more explanation of how to get non-basic commands shorten names of debug functions and add docstrings add undo long docstring promote anotate, export, and revert make the global opts array global refactor parsing kill two unused arguments to fancyopts update test-help manifest hash: 459ae2273aaf54f71b4576677a681dc53ab2908c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyEDhywK+sNU5EO8RAr0DAJ9LTu8Fc2quLRtuwLPTQzWqlOJWKwCbBpZk pnMkYnshsutVYljcil1P46I= =Sleg -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 03 Jul 2005 11:47:45 -0800
parents ca3c499e94c6
children 116b2d3f4554 c6b912f8b5b2
line wrap: on
line diff
--- a/tests/test-help.out
+++ b/tests/test-help.out
@@ -1,46 +1,67 @@
-+ hg -q help
-basic hg commands (use -v for long list):
+basic hg commands (use "hg help -v" for more):
 
- add      add the specified files on the next commit
- clone    make a copy of an existing repository
- commit   commit the specified files or all outstanding changes
- diff     diff working directory (or selected files)
- init     create a new repository in the current directory
- log      show the revision history of the repository or a single file
- pull     pull changes from the specified source
- push     push changes to the specified destination
- remove   remove the specified files on the next commit
- serve    export the repository via HTTP
- status   show changed files in the working directory
- update   update or merge working directory
-+ hg add -h
+ add        add the specified files on the next commit
+ annotate   show changeset information per file line
+ clone      make a copy of an existing repository
+ commit     commit the specified files or all outstanding changes
+ diff       diff working directory (or selected files)
+ export     dump the header and diffs for one or more changesets
+ init       create a new repository in the current directory
+ log        show the revision history of the repository or a single file
+ pull       pull changes from the specified source
+ push       push changes to the specified destination
+ remove     remove the specified files on the next commit
+ revert     revert modified files or dirs back to their unmodified states
+ serve      export the repository via HTTP
+ status     show changed files in the working directory
+ update     update or merge working directory
+basic hg commands (use "hg help -v" for more):
+
+ add        add the specified files on the next commit
+ annotate   show changeset information per file line
+ clone      make a copy of an existing repository
+ commit     commit the specified files or all outstanding changes
+ diff       diff working directory (or selected files)
+ export     dump the header and diffs for one or more changesets
+ init       create a new repository in the current directory
+ log        show the revision history of the repository or a single file
+ pull       pull changes from the specified source
+ push       push changes to the specified destination
+ remove     remove the specified files on the next commit
+ revert     revert modified files or dirs back to their unmodified states
+ serve      export the repository via HTTP
+ status     show changed files in the working directory
+ update     update or merge working directory
 hg add: option -h not recognized
 hg add [files]
 
 add the specified files on the next commit
-+ hg help diff
+hg add: option --skjdfks not recognized
+hg add [files]
+
+add the specified files on the next commit
 hg diff [-r A] [-r B] [files]
 
  -r --rev 
    revision
 
 diff working directory (or selected files)
-+ hg help foo
 hg: unknown command foo
-+ hg -q commands
 hg: unknown command 'commands'
-basic hg commands (use -v for long list):
+basic hg commands (use "hg help -v" for more):
 
- add      add the specified files on the next commit
- clone    make a copy of an existing repository
- commit   commit the specified files or all outstanding changes
- diff     diff working directory (or selected files)
- init     create a new repository in the current directory
- log      show the revision history of the repository or a single file
- pull     pull changes from the specified source
- push     push changes to the specified destination
- remove   remove the specified files on the next commit
- serve    export the repository via HTTP
- status   show changed files in the working directory
- update   update or merge working directory
-+ exit 0
+ add        add the specified files on the next commit
+ annotate   show changeset information per file line
+ clone      make a copy of an existing repository
+ commit     commit the specified files or all outstanding changes
+ diff       diff working directory (or selected files)
+ export     dump the header and diffs for one or more changesets
+ init       create a new repository in the current directory
+ log        show the revision history of the repository or a single file
+ pull       pull changes from the specified source
+ push       push changes to the specified destination
+ remove     remove the specified files on the next commit
+ revert     revert modified files or dirs back to their unmodified states
+ serve      export the repository via HTTP
+ status     show changed files in the working directory
+ update     update or merge working directory