From fb2a9e802955762665ae514e401ce82326b6ff5e Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Tue, 9 Apr 2019 13:15:10 -0500 Subject: [PATCH] Added help to arguments and remote directory argument for storage --- copy_cert.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/copy_cert.py b/copy_cert.py index a729a98..e4eb3e5 100644 --- a/copy_cert.py +++ b/copy_cert.py @@ -36,7 +36,12 @@ def exec_remote(connection: paramiko.SSHClient, command): if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument('cert_path') - parser.add_argument('key_path') + parser.add_argument( + 'cert_path', help="location of the certificate to install") + parser.add_argument( + 'key_path', help="localtion of the private key to install") + parser.add_argument( + 'store_path', + help="directory to store the private key and certificate") parser.add_argument('-d', '--dry', action='store_true') args = parser.parse_args()