diff -r 234001d22ba6 -r 142d2a4cb69a tests/test-help.t --- a/tests/test-help.t Sat Feb 08 23:39:55 2020 -0500 +++ b/tests/test-help.t Sun Feb 09 15:50:36 2020 -0500 @@ -788,6 +788,12 @@ (use 'hg help extensions' for information on enabling extensions) [255] +Checking that help adapts based on the config: + + $ hg help diff --config ui.tweakdefaults=true | egrep -e '^ *(-g|config)' + -g --[no-]git use git extended diff format (default: on from + config) + Make sure that we don't run afoul of the help system thinking that this is a section and erroring out weirdly.