diff --git a/tests/test-help b/tests/test-help --- a/tests/test-help +++ b/tests/test-help @@ -51,4 +51,7 @@ hg help nohelp echo %% test that default list of commands omits extension commands hg help +echo %% test list of commands with command with no help text +hg help helpext + exit 0 diff --git a/tests/test-help.out b/tests/test-help.out --- a/tests/test-help.out +++ b/tests/test-help.out @@ -542,3 +542,11 @@ additional help topics: extensions Using additional features use "hg -v help" to show aliases and global options +%% test list of commands with command with no help text +helpext extension - no help text available + +list of commands: + + nohelp (no help text available) + +use "hg -v help helpext" to show aliases and global options