##// END OF EJS Templates
help: check if a subtopic exists and raise an error if it doesn't (issue6145)...
Nathan Goldbaum -
r42585:a84564b1 default
parent child Browse files
Show More
@@ -689,6 +689,8 b' def help_(ui, commands, name, unknowncmd'
689 689 for names, header, doc in subtopics[name]:
690 690 if subtopic in names:
691 691 break
692 if not any(subtopic in s[0] for s in subtopics[name]):
693 raise error.UnknownCommand(name)
692 694
693 695 if not header:
694 696 for topic in helptable:
General Comments 0
You need to be logged in to leave comments. Login now