Mercurial > hg
changeset 35424:702e6d2642e7
debugdiscovery: correct and clean up command synopsis
This does a few things:
* Changes "-r" to "--rev", since "-r" is not a valid short form
* Removes non-existent "-l" and "-b" options
* Removes "..." after options, since we don't usually have that
Differential Revision: https://phab.mercurial-scm.org/D1706
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 15 Dec 2017 08:47:28 -0800 |
parents | e54f02ec6a05 |
children | 60f2a215faa7 |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Thu Dec 14 00:25:03 2017 -0800 +++ b/mercurial/debugcommands.py Fri Dec 15 08:47:28 2017 -0800 @@ -740,7 +740,7 @@ _('use old-style discovery with non-heads included')), ('', 'rev', [], 'restrict discovery to this set of revs'), ] + cmdutil.remoteopts, - _('[-l REV] [-r REV] [-b BRANCH]... [OTHER]')) + _('[--rev REV] [OTHER]')) def debugdiscovery(ui, repo, remoteurl="default", **opts): """runs the changeset discovery protocol in isolation""" opts = pycompat.byteskwargs(opts)