Mercurial > hg
comparison tests/test-extension.out @ 9128:98d90ad54749
commands: hide deprecated commands.
A command is considered deprecated if the word "DEPRECATED" is found
in the doc string. Such commands are hidden from non-verbose help.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 10 Jul 2009 13:40:25 +0200 |
parents | 9b8c9266c59d |
children | cd5b6a11b607 |
comparison
equal
deleted
inserted
replaced
9127:35c3f94233a0 | 9128:98d90ad54749 |
---|---|
17 ui == repo.ui | 17 ui == repo.ui |
18 Foo | 18 Foo |
19 empty extension - empty cmdtable | 19 empty extension - empty cmdtable |
20 | 20 |
21 no commands defined | 21 no commands defined |
22 % hg help | |
22 debugextension extension - only debugcommands | 23 debugextension extension - only debugcommands |
23 | 24 |
24 no commands defined | 25 no commands defined |
26 % hg help --verbose | |
27 debugextension extension - only debugcommands | |
28 | |
29 list of commands: | |
30 | |
31 foo: | |
32 yet another foo command | |
33 | |
34 enabled extensions: | |
35 | |
36 debugextension only debugcommands | |
37 | |
38 global options: | |
39 -R --repository repository root directory or symbolic path name | |
40 --cwd change working directory | |
41 -y --noninteractive do not prompt, assume 'yes' for any required answers | |
42 -q --quiet suppress output | |
43 -v --verbose enable additional output | |
44 --config set/override config option | |
45 --debug enable debugging output | |
46 --debugger start debugger | |
47 --encoding set the charset encoding (default: ascii) | |
48 --encodingmode set the charset encoding mode (default: strict) | |
49 --traceback print traceback on exception | |
50 --time time how long the command takes | |
51 --profile print command execution profile | |
52 --version output version information and exit | |
53 -h --help display help and exit | |
54 % hg help --debug | |
25 debugextension extension - only debugcommands | 55 debugextension extension - only debugcommands |
26 | 56 |
27 list of commands: | 57 list of commands: |
28 | 58 |
29 debugfoobar: | 59 debugfoobar: |
30 yet another debug command | 60 yet another debug command |
61 foo: | |
62 yet another foo command | |
31 | 63 |
32 enabled extensions: | 64 enabled extensions: |
33 | 65 |
34 debugextension only debugcommands | 66 debugextension only debugcommands |
35 | 67 |