Prettier help message

master
Mark 2022-10-22 09:54:50 -07:00
parent fa02c2aa5b
commit 3cd0762d16
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,8 @@
- Write a nice README - Write a nice README
- Handle or avoid recursion errors - Handle or avoid recursion errors
- Fix colors - Fix colors
- Clean up files
- Print macro content if only a macro is typed
## Todo: ## Todo:
- live syntax check - live syntax check
@ -18,6 +20,8 @@
- Pin header to top of screen - Pin header to top of screen
- PyPi package - PyPi package
- Smart alignment in all printouts - Smart alignment in all printouts
- Full-reduce option
- Set reduction limit command
## Mention in Docs ## Mention in Docs
- lambda functions only work with single-letter arguments - lambda functions only work with single-letter arguments

View File

@ -191,7 +191,7 @@ def help(command, runner) -> None:
"<cmd_h>Commands:</cmd_h>"+ "<cmd_h>Commands:</cmd_h>"+
"\n" + "\n" +
"\n".join([ "\n".join([
f"\t{name} \t {text}" f"\t<cmd_code>{name}</cmd_code> \t {text}"
for name, text in help_texts.items() for name, text in help_texts.items()
]) + ]) +
"</cmd_text>" "</cmd_text>"