Show More
@@ -689,6 +689,8 b' def help_(ui, commands, name, unknowncmd' | |||||
689 | for names, header, doc in subtopics[name]: |
|
689 | for names, header, doc in subtopics[name]: | |
690 | if subtopic in names: |
|
690 | if subtopic in names: | |
691 | break |
|
691 | break | |
|
692 | if not any(subtopic in s[0] for s in subtopics[name]): | |||
|
693 | raise error.UnknownCommand(name) | |||
692 |
|
694 | |||
693 | if not header: |
|
695 | if not header: | |
694 | for topic in helptable: |
|
696 | for topic in helptable: |
General Comments 0
You need to be logged in to leave comments.
Login now