MCPcopy Create free account
hub / github.com/idank/explainshell / man_page

Method man_page

explainshell/matcher.py:129–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127
128 @property
129 def man_page(self):
130 group = self.group_stack[-1][1]
131 # we do not have a manpage if the top of the stack is the shell group.
132 # this can happen if the first argument is a command substitution
133 # and we're not treating it as a "man page not found"
134 if group.name != "shell":
135 return group.manpage
136
137 def find_option(self, opt):
138 self._current_option = self.man_page.find_option(opt)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected