Describe each script's purpose in help text

This commit is contained in:
RunasSudo 2024-05-26 01:32:29 +10:00
parent 251ca2671a
commit 642a0491b7
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ import sys
def main():
if len(sys.argv) < 3:
print('Decrypts a single file from a Cryptomator drive and prints to standard output')
print()
print('Usage: {} /path/to/vault.cryptomator /plaintext/path/within/drive'.format(sys.argv[0]), file=sys.stderr)
sys.exit(1)

View File

@ -23,6 +23,8 @@ import sys
def main():
if len(sys.argv) < 3:
print('Lists the contents of a given directory in a Cryptomator drive')
print()
print('Usage: {} /path/to/vault.cryptomator /plaintext/path/within/drive'.format(sys.argv[0]))
sys.exit(1)