view tests/test-help.out @ 593:ca3c499e94c6

Shorten help -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shorten help Basic commands are now marked with "^" in the table only basic commands are show in hg help by default copyright banner not displayed with help by default manifest hash: 7337678588354ca669a3b13d1fbb0ad893563947 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx9LNywK+sNU5EO8RAokCAJ9ZK2sGEto9RLyukFX+n0nzHRoB9QCfU84I e+Evc2g91kSS92FPrIC+Hnw= =yUmt -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 03 Jul 2005 03:58:05 -0800
parents 0c3bae18403b
children 9a8daeff0ffa
line wrap: on
line source

+ hg -q help
basic hg commands (use -v for long list):

 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
hg add: option -h not recognized
hg add [files]

add the specified files on the next commit
+ hg help diff
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):

 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