From 3cd0762d16714c4d80770daa1170b7bd09e4c239 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 22 Oct 2022 09:54:50 -0700 Subject: [PATCH] Prettier help message --- README.md | 4 ++++ lamb/commands.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ecafee1..11bfd98 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ - Write a nice README - Handle or avoid recursion errors - Fix colors + - Clean up files + - Print macro content if only a macro is typed ## Todo: - live syntax check @@ -18,6 +20,8 @@ - Pin header to top of screen - PyPi package - Smart alignment in all printouts + - Full-reduce option + - Set reduction limit command ## Mention in Docs - lambda functions only work with single-letter arguments diff --git a/lamb/commands.py b/lamb/commands.py index 8566d2a..b1f25b9 100644 --- a/lamb/commands.py +++ b/lamb/commands.py @@ -191,7 +191,7 @@ def help(command, runner) -> None: "Commands:"+ "\n" + "\n".join([ - f"\t{name} \t {text}" + f"\t{name} \t {text}" for name, text in help_texts.items() ]) + ""