test-help: tighten grep patterns
Help should output section headings, but no debug commands
--- a/tests/test-help.t Mon Dec 14 11:19:48 2015 -0800
+++ b/tests/test-help.t Mon Dec 14 06:00:32 2015 +0000
@@ -1209,11 +1209,11 @@
Test -e / -c / -k combinations
- $ hg help -c|egrep '^\S|debug'
+ $ hg help -c|egrep '^[A-Z].*:|^ debug'
Commands:
- $ hg help -e|egrep '^\S'
+ $ hg help -e|egrep '^[A-Z].*:|^ debug'
Extensions:
- $ hg help -k|egrep '^\S'
+ $ hg help -k|egrep '^[A-Z].*:'
Topics:
Commands:
Extensions: