shelve: mention FILE options in help
authorMads Kiilerich <madski@unity3d.com>
Mon, 10 Feb 2014 00:53:27 +0100
changeset 20410 fc5354648224
parent 20409 0b7a9940a397
child 20411 66359d8b8d7e
shelve: mention FILE options in help Shelve do normally take a list of files or patterns to shelve and the command summary should thus show [FILE]... Note: --delete is a bit special and interpret the parameters as a list of shelve names. This change makes that even less obvious from the help. Too bad - we can't please everyone.
hgext/shelve.py
--- a/hgext/shelve.py	Mon Feb 10 00:53:25 2014 +0100
+++ b/hgext/shelve.py	Mon Feb 10 00:53:27 2014 +0100
@@ -632,7 +632,7 @@
            _('show patch')),
           ('', 'stat', None,
            _('output diffstat-style summary of changes'))] + commands.walkopts,
-         _('hg shelve [OPTION]...'))
+         _('hg shelve [OPTION]... [FILE]...'))
 def shelvecmd(ui, repo, *pats, **opts):
     '''save and set aside changes from the working directory