comparison mercurial/commands.py @ 1054:5139ee9bfc38

Fixed some synopsises in command help.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 26 Aug 2005 10:39:43 +0200
parents 1539ca091d86
children e453d2053b2e
comparison
equal deleted inserted replaced
1053:1539ca091d86 1054:5139ee9bfc38
1367 "^clone": 1367 "^clone":
1368 (clone, 1368 (clone,
1369 [('U', 'noupdate', None, 'skip update after cloning'), 1369 [('U', 'noupdate', None, 'skip update after cloning'),
1370 ('e', 'ssh', "", 'ssh command'), 1370 ('e', 'ssh', "", 'ssh command'),
1371 ('', 'remotecmd', "", 'remote hg command')], 1371 ('', 'remotecmd', "", 'remote hg command')],
1372 'hg clone [OPTIONS] SOURCE [DEST]'), 1372 'hg clone [OPTION]... SOURCE [DEST]'),
1373 "^commit|ci": 1373 "^commit|ci":
1374 (commit, 1374 (commit,
1375 [('A', 'addremove', None, 'run add/remove during commit'), 1375 [('A', 'addremove', None, 'run add/remove during commit'),
1376 ('I', 'include', [], 'include path in search'), 1376 ('I', 'include', [], 'include path in search'),
1377 ('X', 'exclude', [], 'exclude path from search'), 1377 ('X', 'exclude', [], 'exclude path from search'),
1397 (diff, 1397 (diff,
1398 [('r', 'rev', [], 'revision'), 1398 [('r', 'rev', [], 'revision'),
1399 ('a', 'text', None, 'treat all files as text'), 1399 ('a', 'text', None, 'treat all files as text'),
1400 ('I', 'include', [], 'include path in search'), 1400 ('I', 'include', [], 'include path in search'),
1401 ('X', 'exclude', [], 'exclude path from search')], 1401 ('X', 'exclude', [], 'exclude path from search')],
1402 'hg diff [-I] [-X] [-r REV1 [-r REV2]] [FILE]...'), 1402 'hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]...'),
1403 "^export": 1403 "^export":
1404 (export, 1404 (export,
1405 [('o', 'output', "", 'output to file'), 1405 [('o', 'output', "", 'output to file'),
1406 ('a', 'text', None, 'treat all files as text')], 1406 ('a', 'text', None, 'treat all files as text')],
1407 "hg export [-o OUTFILE] REV..."), 1407 "hg export [-a] [-o OUTFILE] REV..."),
1408 "forget": 1408 "forget":
1409 (forget, 1409 (forget,
1410 [('I', 'include', [], 'include path in search'), 1410 [('I', 'include', [], 'include path in search'),
1411 ('X', 'exclude', [], 'exclude path from search')], 1411 ('X', 'exclude', [], 'exclude path from search')],
1412 "hg forget [OPTION]... FILE..."), 1412 "hg forget [OPTION]... FILE..."),
1413 "heads": 1413 "heads":
1414 (heads, 1414 (heads,
1415 [('b', 'branches', None, 'find branch info')], 1415 [('b', 'branches', None, 'find branch info')],
1416 'hg [-b] heads'), 1416 'hg heads [-b]'),
1417 "help": (help_, [], 'hg help [COMMAND]'), 1417 "help": (help_, [], 'hg help [COMMAND]'),
1418 "identify|id": (identify, [], 'hg identify'), 1418 "identify|id": (identify, [], 'hg identify'),
1419 "import|patch": 1419 "import|patch":
1420 (import_, 1420 (import_,
1421 [('p', 'strip', 1, 'path strip'), 1421 [('p', 'strip', 1, 'path strip'),
1422 ('f', 'force', None, 'skip check for outstanding changes'), 1422 ('f', 'force', None, 'skip check for outstanding changes'),
1423 ('b', 'base', "", 'base path')], 1423 ('b', 'base', "", 'base path')],
1424 "hg import [-p NUM] [-b BASE] PATCH..."), 1424 "hg import [-f] [-p NUM] [-b BASE] PATCH..."),
1425 "incoming|in": (incoming, [], 'hg incoming [SOURCE]'), 1425 "incoming|in": (incoming, [], 'hg incoming [SOURCE]'),
1426 "^init": (init, [], 'hg init [DEST]'), 1426 "^init": (init, [], 'hg init [DEST]'),
1427 "locate": 1427 "locate":
1428 (locate, 1428 (locate,
1429 [('r', 'rev', '', 'revision'), 1429 [('r', 'rev', '', 'revision'),
1436 (log, 1436 (log,
1437 [('I', 'include', [], 'include path in search'), 1437 [('I', 'include', [], 'include path in search'),
1438 ('X', 'exclude', [], 'exclude path from search'), 1438 ('X', 'exclude', [], 'exclude path from search'),
1439 ('r', 'rev', [], 'revision'), 1439 ('r', 'rev', [], 'revision'),
1440 ('p', 'patch', None, 'show patch')], 1440 ('p', 'patch', None, 'show patch')],
1441 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), 1441 'hg log [-I] [-X] [-r REV]... [-p] [FILE]'),
1442 "manifest": (manifest, [], 'hg manifest [REV]'), 1442 "manifest": (manifest, [], 'hg manifest [REV]'),
1443 "outgoing|out": (outgoing, [], 'hg outgoing [DEST]'), 1443 "outgoing|out": (outgoing, [], 'hg outgoing [DEST]'),
1444 "parents": (parents, [], 'hg parents [REV]'), 1444 "parents": (parents, [], 'hg parents [REV]'),
1445 "paths": (paths, [], 'hg paths [NAME]'), 1445 "paths": (paths, [], 'hg paths [NAME]'),
1446 "^pull": 1446 "^pull":
1447 (pull, 1447 (pull,
1448 [('u', 'update', None, 'update working directory'), 1448 [('u', 'update', None, 'update working directory'),
1449 ('e', 'ssh', "", 'ssh command'), 1449 ('e', 'ssh', "", 'ssh command'),
1450 ('', 'remotecmd', "", 'remote hg command')], 1450 ('', 'remotecmd', "", 'remote hg command')],
1451 'hg pull [OPTIONS] [SOURCE]'), 1451 'hg pull [-u] [-e FILE] [--remotecmd FILE] [SOURCE]'),
1452 "^push": 1452 "^push":
1453 (push, 1453 (push,
1454 [('f', 'force', None, 'force push'), 1454 [('f', 'force', None, 'force push'),
1455 ('e', 'ssh', "", 'ssh command'), 1455 ('e', 'ssh', "", 'ssh command'),
1456 ('', 'remotecmd', "", 'remote hg command')], 1456 ('', 'remotecmd', "", 'remote hg command')],
1457 'hg push [-f] [DEST]'), 1457 'hg push [-f] [-e FILE] [--remotecmd FILE] [DEST]'),
1458 "rawcommit": 1458 "rawcommit":
1459 (rawcommit, 1459 (rawcommit,
1460 [('p', 'parent', [], 'parent'), 1460 [('p', 'parent', [], 'parent'),
1461 ('d', 'date', "", 'date code'), 1461 ('d', 'date', "", 'date code'),
1462 ('u', 'user', "", 'user'), 1462 ('u', 'user', "", 'user'),