comparison mercurial/commands.py @ 913:46581ad4bd27

typo fix in command help text This patch fixes a few typo errors on the command help output (I am not sure if the change on 'diff' is the best though).
author TK Soh <teekaysoh@yahoo.com>
date Tue, 16 Aug 2005 10:42:30 -0800
parents 891b6a262c4b
children 24a31f46fa13
comparison
equal deleted inserted replaced
912:302f83b85054 913:46581ad4bd27
1206 table = { 1206 table = {
1207 "^add": 1207 "^add":
1208 (add, 1208 (add,
1209 [('I', 'include', [], 'include path in search'), 1209 [('I', 'include', [], 'include path in search'),
1210 ('X', 'exclude', [], 'exclude path from search')], 1210 ('X', 'exclude', [], 'exclude path from search')],
1211 "hg add [FILE]..."), 1211 "hg add [OPTION]... [FILE]..."),
1212 "addremove": 1212 "addremove":
1213 (addremove, 1213 (addremove,
1214 [('I', 'include', [], 'include path in search'), 1214 [('I', 'include', [], 'include path in search'),
1215 ('X', 'exclude', [], 'exclude path from search')], 1215 ('X', 'exclude', [], 'exclude path from search')],
1216 "hg addremove [OPTION]... [FILE]..."), 1216 "hg addremove [OPTION]... [FILE]..."),
1220 ('u', 'user', None, 'show user'), 1220 ('u', 'user', None, 'show user'),
1221 ('n', 'number', None, 'show revision number'), 1221 ('n', 'number', None, 'show revision number'),
1222 ('c', 'changeset', None, 'show changeset'), 1222 ('c', 'changeset', None, 'show changeset'),
1223 ('I', 'include', [], 'include path in search'), 1223 ('I', 'include', [], 'include path in search'),
1224 ('X', 'exclude', [], 'exclude path from search')], 1224 ('X', 'exclude', [], 'exclude path from search')],
1225 'hg annotate [-r REV] [-u] [-n] [-c] FILE...'), 1225 'hg annotate [OPTION]... FILE...'),
1226 "cat": 1226 "cat":
1227 (cat, 1227 (cat,
1228 [('o', 'output', "", 'output to file')], 1228 [('o', 'output', "", 'output to file')],
1229 'hg cat [-o OUTFILE] FILE [REV]'), 1229 'hg cat [-o OUTFILE] FILE [REV]'),
1230 "^clone": 1230 "^clone":
1249 "debugindexdot": (debugindexdot, [], 'debugindexdot FILE'), 1249 "debugindexdot": (debugindexdot, [], 'debugindexdot FILE'),
1250 "debugwalk": 1250 "debugwalk":
1251 (debugwalk, 1251 (debugwalk,
1252 [('I', 'include', [], 'include path in search'), 1252 [('I', 'include', [], 'include path in search'),
1253 ('X', 'exclude', [], 'exclude path from search')], 1253 ('X', 'exclude', [], 'exclude path from search')],
1254 'debugwalk [OPTIONS]... [FILE]...'), 1254 'debugwalk [OPTION]... [FILE]...'),
1255 "^diff": 1255 "^diff":
1256 (diff, 1256 (diff,
1257 [('r', 'rev', [], 'revision'), 1257 [('r', 'rev', [], 'revision'),
1258 ('I', 'include', [], 'include path in search'), 1258 ('I', 'include', [], 'include path in search'),
1259 ('X', 'exclude', [], 'exclude path from search')], 1259 ('X', 'exclude', [], 'exclude path from search')],
1260 'hg diff [-r REV1 [-r REV2]] [FILE]...'), 1260 'hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]...'),
1261 "^export": 1261 "^export":
1262 (export, 1262 (export,
1263 [('o', 'output', "", 'output to file')], 1263 [('o', 'output', "", 'output to file')],
1264 "hg export [-o OUTFILE] REV..."), 1264 "hg export [-o OUTFILE] REV..."),
1265 "forget": 1265 "forget":
1266 (forget, 1266 (forget,
1267 [('I', 'include', [], 'include path in search'), 1267 [('I', 'include', [], 'include path in search'),
1268 ('X', 'exclude', [], 'exclude path from search')], 1268 ('X', 'exclude', [], 'exclude path from search')],
1269 "hg forget FILE..."), 1269 "hg forget [OPTION]... FILE..."),
1270 "heads": 1270 "heads":
1271 (heads, 1271 (heads,
1272 [('b', 'branches', None, 'find branch info')], 1272 [('b', 'branches', None, 'find branch info')],
1273 'hg [-b] heads'), 1273 'hg [-b] heads'),
1274 "help": (help_, [], 'hg help [COMMAND]'), 1274 "help": (help_, [], 'hg help [COMMAND]'),
1284 [('r', 'rev', '', 'revision'), 1284 [('r', 'rev', '', 'revision'),
1285 ('0', 'print0', None, 'end records with NUL'), 1285 ('0', 'print0', None, 'end records with NUL'),
1286 ('f', 'fullpath', None, 'print complete paths'), 1286 ('f', 'fullpath', None, 'print complete paths'),
1287 ('I', 'include', [], 'include path in search'), 1287 ('I', 'include', [], 'include path in search'),
1288 ('X', 'exclude', [], 'exclude path from search')], 1288 ('X', 'exclude', [], 'exclude path from search')],
1289 'hg locate [-r REV] [-f] [-0] [PATTERN]...'), 1289 'hg locate [OPTION]... [PATTERN]...'),
1290 "^log|history": 1290 "^log|history":
1291 (log, 1291 (log,
1292 [('r', 'rev', [], 'revision'), 1292 [('r', 'rev', [], 'revision'),
1293 ('p', 'patch', None, 'show patch')], 1293 ('p', 'patch', None, 'show patch')],
1294 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), 1294 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'),
1300 [('u', 'update', None, 'update working directory')], 1300 [('u', 'update', None, 'update working directory')],
1301 'hg pull [-u] [SOURCE]'), 1301 'hg pull [-u] [SOURCE]'),
1302 "^push": 1302 "^push":
1303 (push, 1303 (push,
1304 [('f', 'force', None, 'force push')], 1304 [('f', 'force', None, 'force push')],
1305 'hg push [DEST]'), 1305 'hg push [-f] [DEST]'),
1306 "rawcommit": 1306 "rawcommit":
1307 (rawcommit, 1307 (rawcommit,
1308 [('p', 'parent', [], 'parent'), 1308 [('p', 'parent', [], 'parent'),
1309 ('d', 'date', "", 'date code'), 1309 ('d', 'date', "", 'date code'),
1310 ('u', 'user', "", 'user'), 1310 ('u', 'user', "", 'user'),
1338 ('a', 'added', None, 'show only added files'), 1338 ('a', 'added', None, 'show only added files'),
1339 ('r', 'removed', None, 'show only removed files'), 1339 ('r', 'removed', None, 'show only removed files'),
1340 ('u', 'unknown', None, 'show only unknown (not tracked) files'), 1340 ('u', 'unknown', None, 'show only unknown (not tracked) files'),
1341 ('I', 'include', [], 'include path in search'), 1341 ('I', 'include', [], 'include path in search'),
1342 ('X', 'exclude', [], 'exclude path from search')], 1342 ('X', 'exclude', [], 'exclude path from search')],
1343 "hg status [FILE]..."), 1343 "hg status [OPTION]... [FILE]..."),
1344 "tag": 1344 "tag":
1345 (tag, 1345 (tag,
1346 [('l', 'local', None, 'make the tag local'), 1346 [('l', 'local', None, 'make the tag local'),
1347 ('m', 'message', "", 'commit message'), 1347 ('m', 'message', "", 'commit message'),
1348 ('t', 'text', "", 'commit message (deprecated: use -m)'), 1348 ('t', 'text', "", 'commit message (deprecated: use -m)'),