Mercurial > hg
comparison tests/test-dispatch.out @ 11321:40c06bbf58be
help: show value requirement and multiple occurrence of options
this helps users to know what kind of option is:
- no value is required(flag option)
- value is required
- value is required, and multiple occurrences are allowed
each kinds are shown as below:
-f --force force push
-e --ssh CMD specify ssh command to use
-b --branch BRANCH [+] a specific branch you would like to push
if one or more 3rd type options are shown, explanation for '[+]' mark
is also shown as footnote.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sun, 06 Jun 2010 17:25:00 +0900 |
parents | 6a64813276ed |
children | f92f8921a5cc |
comparison
equal
deleted
inserted
replaced
11320:e4274f9f97c8 | 11321:40c06bbf58be |
---|---|
19 | 19 |
20 Returns 0 on success. | 20 Returns 0 on success. |
21 | 21 |
22 options: | 22 options: |
23 | 23 |
24 -o --output print output to file with formatted name | 24 -o --output FORMAT print output to file with formatted name |
25 -r --rev print the given revision | 25 -r --rev REV print the given revision |
26 --decode apply any matching decode filter | 26 --decode apply any matching decode filter |
27 -I --include include names matching the given patterns | 27 -I --include PATTERN [+] include names matching the given patterns |
28 -X --exclude exclude names matching the given patterns | 28 -X --exclude PATTERN [+] exclude names matching the given patterns |
29 | |
30 [+] marked option can be specified multiple times | |
29 | 31 |
30 use "hg -v help cat" to show global options | 32 use "hg -v help cat" to show global options |
31 % [defaults] | 33 % [defaults] |
32 a | 34 a |
33 a: No such file in rev 000000000000 | 35 a: No such file in rev 000000000000 |