Mercurial > hg
diff tests/test-help.t @ 42394:ad55a0a5894f
help: include subtopic in error message if passed
Differential Revision: https://phab.mercurial-scm.org/D6442
author | Nathan Goldbaum <nathan12343@gmail.com> |
---|---|
date | Thu, 23 May 2019 11:14:32 -0400 |
parents | 526750cdd02d |
children | 9803323048b6 |
line wrap: on
line diff
--- a/tests/test-help.t Thu May 23 10:47:10 2019 -0400 +++ b/tests/test-help.t Thu May 23 11:14:32 2019 -0400 @@ -1303,6 +1303,13 @@ *empty chunk* at the end of each *delta group* denotes the boundary to the next filelog sub-segment. +non-existent subtopics print an error + + $ hg help internals.foo + abort: no such help topic: internals.foo + (try 'hg help --keyword foo') + [255] + test advanced, deprecated and experimental options are hidden in command help $ hg help debugoptADV hg debugoptADV