Mercurial > p > roundup > code
comparison roundup/admin.py @ 7998:851ddd72f9ce
issue2550983 - help_commands_html unused
Make the command htmlhelp trigger the command.
The output is ugly however. But clean this up and we could generate
html docs for the current admin.py version replacing existing docs
similar to how the doc is now done for config.ini.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 May 2024 00:33:43 -0400 |
| parents | 77c109725a7e |
| children | 1045425c23b2 |
comparison
equal
deleted
inserted
replaced
| 7997:85a40d799e0c | 7998:851ddd72f9ce |
|---|---|
| 2191 return 0 | 2191 return 0 |
| 2192 if command == 'morehelp': | 2192 if command == 'morehelp': |
| 2193 self.do_help(['help']) | 2193 self.do_help(['help']) |
| 2194 self.help_commands() | 2194 self.help_commands() |
| 2195 self.help_all() | 2195 self.help_all() |
| 2196 return 0 | |
| 2197 | |
| 2198 if command == 'htmlhelp': | |
| 2199 self.help_commands_html() | |
| 2196 return 0 | 2200 return 0 |
| 2197 | 2201 |
| 2198 # figure what the command is | 2202 # figure what the command is |
| 2199 try: | 2203 try: |
| 2200 functions = self.commands.get(command) | 2204 functions = self.commands.get(command) |
