From 7d236fa0997ba441e13dc7ffe576b239c754e34a Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Wed, 10 Apr 2019 00:13:53 -0500 Subject: [PATCH] Changed arg prefix as to not conflict with win-acme --- copy_cert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy_cert.py b/copy_cert.py index b414329..6bd423e 100644 --- a/copy_cert.py +++ b/copy_cert.py @@ -36,7 +36,7 @@ def exec_remote(connection: paramiko.SSHClient, command): if __name__ == "__main__": - parser = argparse.ArgumentParser() + parser = argparse.ArgumentParser(prefix_chars="*") parser.add_argument( 'cert_path', help="location of the certificate to install") parser.add_argument( @@ -44,7 +44,7 @@ if __name__ == "__main__": parser.add_argument( 'store_path', help="directory to store the private key and certificate") - parser.add_argument('-d', '--dry', action='store_true') + parser.add_argument('*d', '**dry', action='store_true') args = parser.parse_args() # Connect to host router = connection_from_config('router')