Option Names in Mercurial
For consistency, we try to use the same names for options throughout Mercurial.
It's preferred if option names match those for other popular systems/programs with related features.
Short |
Long |
Users |
0 |
print0 |
status |
6 |
ipv6 |
server |
A |
addremove |
commit |
A |
after |
remove, rename, copy |
C |
copies |
log |
I |
include |
many |
M |
no merges |
log |
R |
repository |
global |
U |
noupdate |
clone, rebase |
U |
unified |
diff |
U |
currentuser |
qnew |
X |
exclude |
many |
a |
all |
several |
a |
text |
diff |
b |
base |
rebase |
b |
branch |
several |
d |
date |
many |
e |
ssh |
many |
e |
edit |
mq |
f |
force |
many |
f |
follow |
log, annotate |
g |
git |
diff, etc. |
h |
help |
global |
l |
logfile |
several |
l |
limit |
log, etc. |
l |
list |
resolve, etc. |
m |
message |
several |
n |
name |
mq, serve |
n |
dry-run |
add addremove copy rename revert |
p |
patch |
log incoming outgoing tip |
q |
quiet |
global |
r |
rev |
many |
r |
removed |
status |
s |
summary |
mq |
u |
update |
pull qrestore unbundle |
u |
user |
several |
v |
verbose |
global |
y |
noninteractive |
global |
To generate a list of all option flags, use:
(for f in `hg debugcomplete`; do hg help $f ; done; hg help -v) | egrep "^(hg| -)"