Patchwork [4,of,6] update: show -C and -c as mutually exclusive in synopsis

login
register
mail settings
Submitter via Mercurial-devel
Date Feb. 14, 2017, 1:07 a.m.
Message ID <59e2d3da607cc09ebe13.1487034441@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/18463/
State Superseded
Headers show

Comments

via Mercurial-devel - Feb. 14, 2017, 1:07 a.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1487027086 28800
#      Mon Feb 13 15:04:46 2017 -0800
# Node ID 59e2d3da607cc09ebe133ab199fc4f343d74e1e6
# Parent  4c11837859ce08ad07d09a544aa89e3e930499c3
update: show -C and -c as mutually exclusive in synopsis

Also reorder them to match the flag table.

Patch

diff -r 4c11837859ce -r 59e2d3da607c mercurial/commands.py
--- a/mercurial/commands.py	Mon Feb 13 11:58:02 2017 -0800
+++ b/mercurial/commands.py	Mon Feb 13 15:04:46 2017 -0800
@@ -6474,7 +6474,7 @@ 
     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
     ('r', 'rev', '', _('revision'), _('REV'))
      ] + mergetoolopts,
-    _('[-c] [-C] [-d DATE] [[-r] REV]'))
+    _('[-C|-c] [-d DATE] [[-r] REV]'))
 def update(ui, repo, node=None, rev=None, clean=False, date=None, check=False,
            tool=None):
     """update working directory (or switch revisions)