Show More
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | |
|
8 | 8 | from node import hex, nullid, nullrev, short |
|
9 | 9 | from i18n import _, gettext |
|
10 | import os, re, sys | |
|
10 | import os, re, sys, textwrap | |
|
11 | 11 | import hg, util, revlog, bundlerepo, extensions, copies, context, error |
|
12 | 12 | import difflib, patch, time, help, mdiff, tempfile, url, encoding |
|
13 | 13 | import archival, changegroup, cmdutil, hgweb.server, sshserver, hbisect |
@@ -1532,7 +1532,11 b' def help_(ui, name=None, with_version=Fa' | |||
|
1532 | 1532 | opts_len = max([len(line[0]) for line in opt_output if line[1]] or [0]) |
|
1533 | 1533 | for first, second in opt_output: |
|
1534 | 1534 | if second: |
|
1535 | ui.write(" %-*s %s\n" % (opts_len, first, second)) | |
|
1535 | # wrap descriptions at 70 characters, just like the | |
|
1536 | # main help texts | |
|
1537 | second = textwrap.wrap(second, width=70 - opts_len - 3) | |
|
1538 | pad = '\n' + ' ' * (opts_len + 3) | |
|
1539 | ui.write(" %-*s %s\n" % (opts_len, first, pad.join(second))) | |
|
1536 | 1540 | else: |
|
1537 | 1541 | ui.write("%s\n" % first) |
|
1538 | 1542 |
@@ -40,7 +40,8 b' enabled extensions:' | |||
|
40 | 40 | global options: |
|
41 | 41 | -R --repository repository root directory or symbolic path name |
|
42 | 42 | --cwd change working directory |
|
43 |
-y --noninteractive do not prompt, assume 'yes' for any required |
|
|
43 | -y --noninteractive do not prompt, assume 'yes' for any required | |
|
44 | answers | |
|
44 | 45 | -q --quiet suppress output |
|
45 | 46 | -v --verbose enable additional output |
|
46 | 47 | --config set/override config option |
@@ -27,8 +27,10 b' interactively select changes to commit' | |||
|
27 | 27 | |
|
28 | 28 | options: |
|
29 | 29 | |
|
30 |
-A --addremove mark new/missing files as added/removed before |
|
|
31 | --close-branch mark a branch as closed, hiding it from the branch list | |
|
30 | -A --addremove mark new/missing files as added/removed before | |
|
31 | committing | |
|
32 | --close-branch mark a branch as closed, hiding it from the branch | |
|
33 | list | |
|
32 | 34 | -I --include include names matching the given patterns |
|
33 | 35 | -X --exclude exclude names matching the given patterns |
|
34 | 36 | -m --message use <text> as commit message |
General Comments 0
You need to be logged in to leave comments.
Login now