[TAKE 2][PATCH 3/5]: Show commands aliases and global options in help

Goffredo Baroncelli kreijack at aliceposta.it
Mon Jul 25 18:57:36 UTC 2005


# HG changeset patch
# User kreijack at inwind.REMOVEME.it
# Node ID 7f6e227ef14c452244e6dfce0d1254bb4ac80f97
# Parent  7874c8368615d1063c811a80b221a2eda98f8a76
More verbose information on the global options

diff -r 7874c8368615 -r 7f6e227ef14c mercurial/commands.py
--- a/mercurial/commands.py     Sun Jul 24 10:05:50 2005
+++ b/mercurial/commands.py     Sun Jul 24 10:06:49 2005
@@ -1235,9 +1235,9 @@
     "version": (show_version, [], 'hg version'),
     }

-globalopts = [('v', 'verbose', None, 'verbose'),
-              ('', 'debug', None, 'debug'),
-              ('q', 'quiet', None, 'quiet'),
+globalopts = [('v', 'verbose', None, 'verbose mode'),
+              ('', 'debug', None, 'debug mode'),
+              ('q', 'quiet', None, 'quiet mode'),
               ('', 'profile', None, 'profile'),
               ('R', 'repository', "", 'repository root directory'),
               ('', 'traceback', None, 'print traceback on exception'),

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack AT inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050725/85878a31/attachment-0001.asc>


More information about the Mercurial mailing list