changeset 20409:0b7a9940a397

shelve: mention walk options in help
author Mads Kiilerich <madski@unity3d.com>
date Mon, 10 Feb 2014 00:53:25 +0100
parents 3392695abd68
children fc5354648224
files hgext/shelve.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/shelve.py	Mon Feb 10 00:52:56 2014 +0100
+++ b/hgext/shelve.py	Mon Feb 10 00:53:25 2014 +0100
@@ -23,7 +23,7 @@
 
 from mercurial.i18n import _
 from mercurial.node import nullid, nullrev, bin, hex
-from mercurial import changegroup, cmdutil, scmutil, phases
+from mercurial import changegroup, cmdutil, scmutil, phases, commands
 from mercurial import error, hg, mdiff, merge, patch, repair, util
 from mercurial import templatefilters
 from mercurial import lock as lockmod
@@ -631,8 +631,8 @@
           ('p', 'patch', None,
            _('show patch')),
           ('', 'stat', None,
-           _('output diffstat-style summary of changes'))],
-         _('hg shelve'))
+           _('output diffstat-style summary of changes'))] + commands.walkopts,
+         _('hg shelve [OPTION]...'))
 def shelvecmd(ui, repo, *pats, **opts):
     '''save and set aside changes from the working directory