changeset 20410:fc5354648224

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.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 10 Feb 2014 00:53:27 +0100
parents 0b7a9940a397
children 66359d8b8d7e
files hgext/shelve.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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