more helpful program description

This commit is contained in:
revsuine 2024-11-04 16:33:36 +00:00
parent e00bc3f33e
commit 3f0aa89f08
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -97,7 +97,8 @@ def decrypt(message: email.message.Message) -> str:
def main() -> None:
"""Program entry"""
parser = argparse.ArgumentParser(
description="Encrypt/decrypt mail using GPG/MIME"
description="Encrypt/decrypt mail using GPG/MIME. Takes an email from "
"stdin and outputs to stdout."
)
parser.add_argument('-d', '--decrypt', action="store_true",
help="Decrypt rather than encrypt")