docs: Improve help message formatting and clarity

This commit is contained in:
n loewen 2025-06-07 19:14:06 +01:00 committed by n loewen (aider)
parent 6bc4b56ba3
commit a95a67f834
1 changed files with 8 additions and 4 deletions

12
gtm
View File

@ -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: