Browse Source

Changed arg prefix as to not conflict with win-acme

master
Raphael Roberts 7 years ago
parent
commit
7d236fa099
  1. 4
      copy_cert.py

4
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')

Loading…
Cancel
Save