Mercurial > hg
diff tests/test-qrecord.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 | c7dbd6c4877a |
children | 226a328a7ff3 |
line wrap: on
line diff
--- a/tests/test-qrecord.out Wed Jun 09 12:45:48 2010 +0100 +++ b/tests/test-qrecord.out Sun Jun 06 17:25:00 2010 +0900 @@ -32,16 +32,18 @@ options: - -e --edit edit commit message - -g --git use git extended diff format - -U --currentuser add "From: <current user>" to patch - -u --user add "From: <given user>" to patch - -D --currentdate add "Date: <current date>" to patch - -d --date add "Date: <given date>" to patch - -I --include include names matching the given patterns - -X --exclude exclude names matching the given patterns - -m --message use <text> as commit message - -l --logfile read commit message from <file> + -e --edit edit commit message + -g --git use git extended diff format + -U --currentuser add "From: <current user>" to patch + -u --user USER add "From: <USER>" to patch + -D --currentdate add "Date: <current date>" to patch + -d --date DATE add "Date: <DATE>" to patch + -I --include PATTERN [+] include names matching the given patterns + -X --exclude PATTERN [+] exclude names matching the given patterns + -m --message TEXT use text as commit message + -l --logfile FILE read commit message from file + +[+] marked option can be specified multiple times use "hg -v help qrecord" to show global options % base commit