perf: test the formatting of a command help
Since we are about to addd ':' in command name I want this covered.
Differential Revision: https://phab.mercurial-scm.org/D9871
--- a/tests/test-contrib-perf.t Mon Jan 25 23:08:33 2021 +0100
+++ b/tests/test-contrib-perf.t Mon Jan 25 23:13:01 2021 +0100
@@ -195,6 +195,20 @@
perf--write microbenchmark ui.write (and others)
(use 'hg help -v perf' to show built-in aliases and global options)
+
+ $ hg help perfaddremove
+ hg perf--addremove
+
+ aliases: perfaddremove
+
+ (no help text available)
+
+ options:
+
+ -T --template TEMPLATE display with template
+
+ (some details hidden, use --verbose to show complete help)
+
$ hg perfaddremove
$ hg perfancestors
$ hg perfancestorset 2