# HG changeset patch # User Pierre-Yves David # Date 1611612781 -3600 # Node ID c41ac8985fe47c79604243eeff4a673671112109 # Parent d481f30ea8e392b1d4db7d00ef023815335db132 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 diff -r d481f30ea8e3 -r c41ac8985fe4 tests/test-contrib-perf.t --- 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