From a95a67f834b6817595125c3955b08f50497c9b27 Mon Sep 17 00:00:00 2001 From: n loewen Date: Sat, 7 Jun 2025 19:14:06 +0100 Subject: [PATCH] docs: Improve help message formatting and clarity --- gtm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gtm b/gtm index 75ec8f1..0de56cf 100755 --- a/gtm +++ b/gtm @@ -222,10 +222,14 @@ def main(stdscr, filename): def show_help(): """Display help information""" - print("Usage: gtm filename") - print(" gtm -v, --version (show version)") - print(" gtm -h, --help (show this help)") - print("\nA Git Time Machine for viewing file history.") + print("A \"Git Time Machine\" for viewing file history.") + print() + print("Usage:") + print("\tgtm FILENAME") + print() + print("Flags:") + print("\t-v, --version\tshow version number") + print("\t-h, --help\tshow this help") if __name__ == "__main__": if len(sys.argv) == 2: