##// END OF EJS Templates
Updated help synopsises and reordered some options. Dropped [-n] from revert.
Thomas Arendsen Hein -
r1816:08f4398b default
parent child Browse files
Show More
@@ -2379,50 +2379,50 b' table = {'
2379 2379 ('c', 'changeset', None, _('list the changeset')),
2380 2380 ('I', 'include', [], _('include names matching the given patterns')),
2381 2381 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2382 _('hg annotate [-r REV] [-a] [-u] [-n] [-c] [-d] [FILES...]')),
2382 _('hg annotate [-r REV] [-a] [-u] [-d] [-n] [-c] FILE...')),
2383 2383 "bundle":
2384 2384 (bundle,
2385 2385 [],
2386 2386 _('hg bundle FILE DEST')),
2387 2387 "cat":
2388 2388 (cat,
2389 [('I', 'include', [], _('include names matching the given patterns')),
2390 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2391 ('o', 'output', '', _('print output to file with formatted name')),
2392 ('r', 'rev', '', _('print the given revision'))],
2389 [('o', 'output', '', _('print output to file with formatted name')),
2390 ('r', 'rev', '', _('print the given revision')),
2391 ('I', 'include', [], _('include names matching the given patterns')),
2392 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2393 2393 _('hg cat [OPTION]... FILE...')),
2394 2394 "^clone":
2395 2395 (clone,
2396 2396 [('U', 'noupdate', None, _('do not update the new working directory')),
2397 ('e', 'ssh', '', _('specify ssh command to use')),
2398 ('', 'pull', None, _('use pull protocol to copy metadata')),
2399 2397 ('r', 'rev', [],
2400 2398 _('a changeset you would like to have after cloning')),
2399 ('', 'pull', None, _('use pull protocol to copy metadata')),
2400 ('e', 'ssh', '', _('specify ssh command to use')),
2401 2401 ('', 'remotecmd', '',
2402 2402 _('specify hg command to run on the remote side'))],
2403 2403 _('hg clone [OPTION]... SOURCE [DEST]')),
2404 2404 "^commit|ci":
2405 2405 (commit,
2406 2406 [('A', 'addremove', None, _('run addremove during commit')),
2407 ('I', 'include', [], _('include names matching the given patterns')),
2408 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2409 2407 ('m', 'message', '', _('use <text> as commit message')),
2410 2408 ('l', 'logfile', '', _('read the commit message from <file>')),
2411 2409 ('d', 'date', '', _('record datecode as commit date')),
2412 ('u', 'user', '', _('record user as commiter'))],
2410 ('u', 'user', '', _('record user as commiter')),
2411 ('I', 'include', [], _('include names matching the given patterns')),
2412 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2413 2413 _('hg commit [OPTION]... [FILE]...')),
2414 2414 "copy|cp":
2415 2415 (copy,
2416 [('I', 'include', [], _('include names matching the given patterns')),
2417 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2418 ('A', 'after', None, _('record a copy that has already occurred')),
2416 [('A', 'after', None, _('record a copy that has already occurred')),
2419 2417 ('f', 'force', None,
2420 _('forcibly copy over an existing managed file'))],
2418 _('forcibly copy over an existing managed file')),
2419 ('I', 'include', [], _('include names matching the given patterns')),
2420 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2421 2421 _('hg copy [OPTION]... [SOURCE]... DEST')),
2422 2422 "debugancestor": (debugancestor, [], _('debugancestor INDEX REV1 REV2')),
2423 2423 "debugrebuildstate":
2424 2424 (debugrebuildstate,
2425 [('r', 'rev', "", _("revision to rebuild to"))],
2425 [('r', 'rev', '', _('revision to rebuild to'))],
2426 2426 _('debugrebuildstate [-r REV] [REV]')),
2427 2427 "debugcheckstate": (debugcheckstate, [], _('debugcheckstate')),
2428 2428 "debugconfig": (debugconfig, [], _('debugconfig')),
@@ -2441,13 +2441,12 b' table = {'
2441 2441 (diff,
2442 2442 [('r', 'rev', [], _('revision')),
2443 2443 ('a', 'text', None, _('treat all files as text')),
2444 ('I', 'include', [], _('include names matching the given patterns')),
2445 2444 ('p', 'show-function', None,
2446 2445 _('show which function each change is in')),
2447 2446 ('w', 'ignore-all-space', None,
2448 2447 _('ignore white space when comparing lines')),
2449 ('X', 'exclude', [],
2450 _('exclude names matching the given patterns'))],
2448 ('I', 'include', [], _('include names matching the given patterns')),
2449 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2451 2450 _('hg diff [-a] [-I] [-X] [-r REV1 [-r REV2]] [FILE]...')),
2452 2451 "^export":
2453 2452 (export,
@@ -2463,15 +2462,15 b' table = {'
2463 2462 "grep":
2464 2463 (grep,
2465 2464 [('0', 'print0', None, _('end fields with NUL')),
2466 ('I', 'include', [], _('include names matching the given patterns')),
2467 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2468 2465 ('', 'all', None, _('print all revisions that match')),
2469 2466 ('i', 'ignore-case', None, _('ignore case when matching')),
2470 2467 ('l', 'files-with-matches', None,
2471 2468 _('print only filenames and revs that match')),
2472 2469 ('n', 'line-number', None, _('print matching line numbers')),
2473 2470 ('r', 'rev', [], _('search in given revision range')),
2474 ('u', 'user', None, _('print user who committed change'))],
2471 ('u', 'user', None, _('print user who committed change')),
2472 ('I', 'include', [], _('include names matching the given patterns')),
2473 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2475 2474 _('hg grep [OPTION]... PATTERN [FILE]...')),
2476 2475 "heads":
2477 2476 (heads,
@@ -2485,10 +2484,10 b' table = {'
2485 2484 [('p', 'strip', 1,
2486 2485 _('directory strip option for patch. This has the same\n') +
2487 2486 _('meaning as the corresponding patch option')),
2487 ('b', 'base', '', _('base path')),
2488 2488 ('f', 'force', None,
2489 _('skip check for outstanding uncommitted changes')),
2490 ('b', 'base', '', _('base path'))],
2491 _('hg import [-f] [-p NUM] [-b BASE] PATCH...')),
2489 _('skip check for outstanding uncommitted changes'))],
2490 _('hg import [-p NUM] [-b BASE] [-f] PATCH...')),
2492 2491 "incoming|in": (incoming,
2493 2492 [('M', 'no-merges', None, _('do not show merges')),
2494 2493 ('p', 'patch', None, _('show patch')),
@@ -2507,22 +2506,22 b' table = {'
2507 2506 _('hg locate [OPTION]... [PATTERN]...')),
2508 2507 "^log|history":
2509 2508 (log,
2510 [('I', 'include', [], _('include names matching the given patterns')),
2511 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2512 ('b', 'branches', None, _('show branches')),
2509 [('b', 'branches', None, _('show branches')),
2513 2510 ('k', 'keyword', [], _('search for a keyword')),
2514 2511 ('l', 'limit', '', _('limit number of changes displayed')),
2515 2512 ('r', 'rev', [], _('show the specified revision or range')),
2516 2513 ('M', 'no-merges', None, _('do not show merges')),
2517 2514 ('m', 'only-merges', None, _('show only merges')),
2518 ('p', 'patch', None, _('show patch'))],
2519 _('hg log [-I] [-X] [-r REV]... [-p] [FILE]')),
2515 ('p', 'patch', None, _('show patch')),
2516 ('I', 'include', [], _('include names matching the given patterns')),
2517 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2518 _('hg log [OPTION]... [FILE]')),
2520 2519 "manifest": (manifest, [], _('hg manifest [REV]')),
2521 2520 "outgoing|out": (outgoing,
2522 2521 [('M', 'no-merges', None, _('do not show merges')),
2523 2522 ('p', 'patch', None, _('show patch')),
2524 2523 ('n', 'newest-first', None, _('show newest record first'))],
2525 _('hg outgoing [-p] [-n] [-M] [DEST]')),
2524 _('hg outgoing [-M] [-p] [-n] [DEST]')),
2526 2525 "^parents":
2527 2526 (parents,
2528 2527 [('b', 'branches', None, _('show branches'))],
@@ -2536,7 +2535,7 b' table = {'
2536 2535 ('r', 'rev', [], _('a specific revision you would like to pull')),
2537 2536 ('', 'remotecmd', '',
2538 2537 _('specify hg command to run on the remote side'))],
2539 _('hg pull [-u] [-e FILE] [-r rev]... [--remotecmd FILE] [SOURCE]')),
2538 _('hg pull [-u] [-e FILE] [-r REV]... [--remotecmd FILE] [SOURCE]')),
2540 2539 "^push":
2541 2540 (push,
2542 2541 [('f', 'force', None, _('force push')),
@@ -2544,7 +2543,7 b' table = {'
2544 2543 ('r', 'rev', [], _('a specific revision you would like to push')),
2545 2544 ('', 'remotecmd', '',
2546 2545 _('specify hg command to run on the remote side'))],
2547 _('hg push [-f] [-e FILE] [-r rev]... [--remotecmd FILE] [DEST]')),
2546 _('hg push [-f] [-e FILE] [-r REV]... [--remotecmd FILE] [DEST]')),
2548 2547 "rawcommit":
2549 2548 (rawcommit,
2550 2549 [('p', 'parent', [], _('parent')),
@@ -2562,18 +2561,18 b' table = {'
2562 2561 _('hg remove [OPTION]... FILE...')),
2563 2562 "rename|mv":
2564 2563 (rename,
2565 [('I', 'include', [], _('include names matching the given patterns')),
2566 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2567 ('A', 'after', None, _('record a rename that has already occurred')),
2564 [('A', 'after', None, _('record a rename that has already occurred')),
2568 2565 ('f', 'force', None,
2569 _('forcibly copy over an existing managed file'))],
2566 _('forcibly copy over an existing managed file')),
2567 ('I', 'include', [], _('include names matching the given patterns')),
2568 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2570 2569 _('hg rename [OPTION]... [SOURCE]... DEST')),
2571 2570 "^revert":
2572 2571 (revert,
2573 [('I', 'include', [], _('include names matching the given patterns')),
2574 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2575 ('r', 'rev', '', _('revision to revert to'))],
2576 _('hg revert [-n] [-r REV] [NAME]...')),
2572 [('r', 'rev', '', _('revision to revert to')),
2573 ('I', 'include', [], _('include names matching the given patterns')),
2574 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
2575 _('hg revert [-r REV] [NAME]...')),
2577 2576 "root": (root, [], _('hg root')),
2578 2577 "^serve":
2579 2578 (serve,
@@ -173,9 +173,9 b' options:'
173 173
174 174 -r --rev revision
175 175 -a --text treat all files as text
176 -I --include include names matching the given patterns
177 176 -p --show-function show which function each change is in
178 177 -w --ignore-all-space ignore white space when comparing lines
178 -I --include include names matching the given patterns
179 179 -X --exclude exclude names matching the given patterns
180 180 hg status [OPTION]... [FILE]...
181 181
General Comments 0
You need to be logged in to leave comments. Login now