Show More
@@ -1401,6 +1401,16 b' def help_(ui, name=None, with_version=Fa' | |||||
1401 | and _(" (default: %s)") % default |
|
1401 | and _(" (default: %s)") % default | |
1402 | or ""))) |
|
1402 | or ""))) | |
1403 |
|
1403 | |||
|
1404 | if ui.verbose: | |||
|
1405 | ui.write(_("\nspecial help topics:\n")) | |||
|
1406 | topics = [] | |||
|
1407 | for i in help.helptable: | |||
|
1408 | l = i.split('|') | |||
|
1409 | topics.append((", ".join(l[:-1]), l[-1])) | |||
|
1410 | topics_len = max([len(s[0]) for s in topics]) | |||
|
1411 | for t, desc in topics: | |||
|
1412 | ui.write(" %-*s %s\n" % (topics_len, t, desc)) | |||
|
1413 | ||||
1404 | if opt_output: |
|
1414 | if opt_output: | |
1405 | opts_len = max([len(line[0]) for line in opt_output if line[1]] or [0]) |
|
1415 | opts_len = max([len(line[0]) for line in opt_output if line[1]] or [0]) | |
1406 | for first, second in opt_output: |
|
1416 | for first, second in opt_output: |
@@ -33,6 +33,11 b' list of commands:' | |||||
33 | debugfoobar: |
|
33 | debugfoobar: | |
34 | yet another debug command |
|
34 | yet another debug command | |
35 |
|
35 | |||
|
36 | special help topics: | |||
|
37 | dates Date Formats | |||
|
38 | patterns File Name Patterns | |||
|
39 | environment, env Environment Variables | |||
|
40 | ||||
36 | global options: |
|
41 | global options: | |
37 | -R --repository repository root directory or symbolic path name |
|
42 | -R --repository repository root directory or symbolic path name | |
38 | --cwd change working directory |
|
43 | --cwd change working directory |
General Comments 0
You need to be logged in to leave comments.
Login now