##// END OF EJS Templates
shelve: improve help text for --patch and --stat...
Danny Hooper -
r38736:abcf500d default
parent child Browse files
Show More
@@ -1011,11 +1011,14 b' def _dounshelve(ui, repo, *shelved, **op'
1011 1011 ('n', 'name', '',
1012 1012 _('use the given name for the shelved commit'), _('NAME')),
1013 1013 ('p', 'patch', None,
1014 _('show patch')),
1014 _('output patches for changes (provide the names of the shelved '
1015 'changes as positional arguments)')),
1015 1016 ('i', 'interactive', None,
1016 1017 _('interactive mode, only works while creating a shelve')),
1017 1018 ('', 'stat', None,
1018 _('output diffstat-style summary of changes'))] + cmdutil.walkopts,
1019 _('output diffstat-style summary of changes (provide the names of '
1020 'the shelved changes as positional arguments)')
1021 )] + cmdutil.walkopts,
1019 1022 _('hg shelve [OPTION]... [FILE]...'))
1020 1023 def shelvecmd(ui, repo, *pats, **opts):
1021 1024 '''save and set aside changes from the working directory
@@ -68,9 +68,12 b' shelve has a help message'
68 68 -l --list list current shelves
69 69 -m --message TEXT use text as shelve message
70 70 -n --name NAME use the given name for the shelved commit
71 -p --patch show patch
71 -p --patch output patches for changes (provide the names of the
72 shelved changes as positional arguments)
72 73 -i --interactive interactive mode, only works while creating a shelve
73 --stat output diffstat-style summary of changes
74 --stat output diffstat-style summary of changes (provide
75 the names of the shelved changes as positional
76 arguments)
74 77 -I --include PATTERN [+] include names matching the given patterns
75 78 -X --exclude PATTERN [+] exclude names matching the given patterns
76 79 --mq operate on patch repository
General Comments 0
You need to be logged in to leave comments. Login now