global options in help output

Thomas Arendsen Hein thomas at intevation.de
Fri Aug 26 06:40:37 CDT 2005


* TK Soh <teekaysoh at yahoo.com> [20050826 01:52]:
> --- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> > It is, but sorting it alphabetically isn't the right thing to do.
> 
> The commands are sorted that way, and seems like a natural order.
> 
> > Included here and pullable from
> > http://hg.intevation.org/mercurial/tah
> > is a sorting by topic.
> 
> But looks little different than the old arrangement, ie. still cluttered.

See how it looks like in Matt's tip now.

Thomas

$ hg help -v import

hg import [-f] [-p NUM] [-b BASE] PATCH...

import an ordered set of patches

aliases: patch

options:

 -p --strip           path strip (default: 1)
 -f --force           skip check for outstanding changes
 -b --base            base path

global options:

 -R --repository      repository root directory
    --cwd             change working directory
 -y --noninteractive  run non-interactively
 -q --quiet           quiet mode
 -v --verbose         verbose mode
    --debug           debug mode
    --traceback       print traceback on exception
    --time            time how long the command takes
    --profile         profile
    --version         output version information and exit
 -h --help            display help and exit

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list