--- a/tests/test-help.t Wed Mar 05 14:03:08 2014 +0100
+++ b/tests/test-help.t Wed Feb 19 17:32:21 2014 +0100
@@ -657,7 +657,10 @@
> pass
>
> cmdtable = {
- > "nohelp": (nohelp, [], "hg nohelp"),
+ > "nohelp": (nohelp, [('', 'longdesc', 3, 'x'*90),
+ > ('n', '', None, 'normal desc'),
+ > ('', 'newline', '', 'line1\nline2'),
+ > ], "hg nohelp"),
> }
>
> commands.norepo += ' nohelp'
@@ -672,6 +675,13 @@
(no help text available)
+ options:
+
+ --longdesc VALUE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (default: 3)
+ -n -- normal desc
+ --newline VALUE line1 line2
+
use "hg -v help nohelp" to show the global options
$ hg help -k nohelp