comparison mercurial/commands.py @ 15851:05ccad068313

phase: use standard syntax for command line flags We don't mark them as literal text and we mention the short option the first time we talk about a given flag.
author Martin Geisler <mg@aragost.com>
date Fri, 13 Jan 2012 11:29:47 +0100
parents 920433707a01
children d4253fb38323
comparison
equal deleted inserted replaced
15850:920433707a01 15851:05ccad068313
4226 def phase(ui, repo, *revs, **opts): 4226 def phase(ui, repo, *revs, **opts):
4227 """set or show the current phase name 4227 """set or show the current phase name
4228 4228
4229 With no argument, show the phase name of specified revisions. 4229 With no argument, show the phase name of specified revisions.
4230 4230
4231 With one of ``--public``, ``--draft`` or ``--secret``, change the 4231 With one of -p/--public, -d/--draft or -s/--secret, change the
4232 phase value of the specified revisions. 4232 phase value of the specified revisions.
4233 4233
4234 Unless -f/--force is specified, :hg:`phase` won't move changeset from a 4234 Unless -f/--force is specified, :hg:`phase` won't move changeset from a
4235 lower phase to an higher phase. Phases are ordered as follows:: 4235 lower phase to an higher phase. Phases are ordered as follows::
4236 4236