--- a/tests/test-help.t Wed Dec 30 21:07:51 2015 +0000
+++ b/tests/test-help.t Fri Jan 01 16:59:13 2016 +0000
@@ -1162,6 +1162,31 @@
$ hg help config.type | egrep '^$'|wc -l
\s*3 (re)
+Separate sections from subsections
+
+ $ hg help config.format | egrep '^ ("|-)|^\s*$' | uniq
+ "format"
+ --------
+
+ "usegeneraldelta"
+
+ "dotencode"
+
+ "usefncache"
+
+ "usestore"
+
+ "profiling"
+ -----------
+
+ "format"
+
+ "progress"
+ ----------
+
+ "format"
+
+
Last item in help config.*:
$ hg help config.`hg help config|grep '^ "'| \