--- a/tests/test-dispatch.t Thu Nov 23 23:18:56 2017 +0900
+++ b/tests/test-dispatch.t Fri Nov 24 01:09:00 2017 +0900
@@ -37,10 +37,17 @@
hg log [OPTION]... [FILE]
(use 'hg log -h' to show more help)
- $ hg log -R -- 2>&1 | grep 'hg log'
- hg log: option -R requires argument
- hg log [OPTION]... [FILE]
- (use 'hg log -h' to show more help)
+"--" may be an option value:
+
+ $ hg -R -- log
+ abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
+ [255]
+ $ hg log -R --
+ abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo!
+ [255]
+ $ hg log -T --
+ -- (no-eol)
+ $ hg log -T -- -k nomatch
Parsing of early options should stop at "--":