update help usage strings wrt. crypto in backup.py
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 8 Aug 2017 07:14:12 +0000 (09:14 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:09 +0000 (13:34 +0200)
backup.py

index 3ad0c88..b9984c8 100644 (file)
--- a/backup.py
+++ b/backup.py
@@ -78,10 +78,9 @@ if __name__ == "__main__":
                                        ''           open uncompressed;
                                        'gz'         open with gzip compression;
                                        'bz2'        open with bzip2 compression;
-                                       '#gz.aes128' open an aes128 encrypted stream of gzip
-                                                    compressed tar blocks;
-                                       '#aes128'    open an aes128 encrypted stream of tar
-                                                    blocks.
+                                       '#gz'        encrypted stream of individually
+                                                    compressed tar blocks.
+                            To enable encryption, supply a password.
                             """)
     parser.add_argument("-t", "--targetpath", help="Target path directory.")
     parser.add_argument("-s", "--sourcepath", help="Source path directory.")
@@ -90,7 +89,7 @@ if __name__ == "__main__":
                         default=epw.strip () if epw is not None else None,
                         help="Password for symmetric encryption. "
                              "The environment variable PDTCRYPT_PASSWORD should "
-                             "be preferred to this.")
+                             "be preferred to this. Enables encryption.")
     parser.add_argument("-v", "--volsize", default=None,
                         help="Maximum volume size, in megabytes.")
     parser.add_argument("-r", "--restore", action='store_true',