add one more command for help

This commit is contained in:
nebula 2025-04-23 22:25:32 +00:00
parent b85c9c6c25
commit fc9b7adcb7

View File

@ -56,7 +56,7 @@ def generate_feed(before=None, count=200):
return blogs
if len(sys.argv) > 1:
if sys.argv[1] == "--help":
if sys.argv[1] == "--help" or sys.argv[1] == "-h":
exit(helptext)
elif sys.argv[1] == "--dump":
with open("/dev/stdout", "w") as f: