[PATCH 0/4]: Show commands aliases and global options in help

Goffredo Baroncelli kreijack at aliceposta.it
Sun Jul 24 05:21:29 CDT 2005


Hi,

the four patches which follow this email permit to hg to show the commands aliases and the
global options when the 'hg help' command are used with the '-v' switch.

Example:

$ hg help -v
Mercurial version unknown

Copyright (C) 2005 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

global options:

 -v --verbose
    verbose mode
 --debug
    debug mode
 -q --quiet
    quiet mode
 --profile
    profile
 -R --repository
    repository root directory
 --traceback
    print traceback on exception
 -y --noninteractive
    run non-interactively
 --version
    output version information and exit

hg commands:

 add:
      add the specified files on the next commit
 addremove:
      add all new files, delete all missing files
[...]
 identify, id:
      print information about the working copy
[...]


PATCH1:  shows the global option 
PATCH2:  shows the commands aliases
PATCH3:  more verbose descritpion of the global options
PATCH4:  update the TODO file



Goffredo
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack AT inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9


More information about the Mercurial mailing list