Show More
@@ -3837,7 +3837,7 b' def help_(ui, name=None, **opts):' | |||||
3837 |
|
3837 | |||
3838 | section = None |
|
3838 | section = None | |
3839 | if name and '.' in name: |
|
3839 | if name and '.' in name: | |
3840 | name, section = name.split('.') |
|
3840 | name, section = name.split('.', 1) | |
3841 |
|
3841 | |||
3842 | text = help.help_(ui, name, **opts) |
|
3842 | text = help.help_(ui, name, **opts) | |
3843 |
|
3843 |
@@ -1094,6 +1094,10 b' Test section lookup' | |||||
1094 | abort: help section not found |
|
1094 | abort: help section not found | |
1095 | [255] |
|
1095 | [255] | |
1096 |
|
1096 | |||
|
1097 | $ hg help glossary.mc.guffin | |||
|
1098 | abort: help section not found | |||
|
1099 | [255] | |||
|
1100 | ||||
1097 | Test usage of section marks in help documents |
|
1101 | Test usage of section marks in help documents | |
1098 |
|
1102 | |||
1099 | $ cd "$TESTDIR"/../doc |
|
1103 | $ cd "$TESTDIR"/../doc |
General Comments 0
You need to be logged in to leave comments.
Login now