From 9493f31740b328d54dc7fe9168751a5166f4d203 Mon Sep 17 00:00:00 2001 From: rlbr Date: Tue, 23 Oct 2018 23:31:06 -0500 Subject: [PATCH] fixed some typos --- ssh-host.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 ssh-host.py diff --git a/ssh-host.py b/ssh-host.py old mode 100644 new mode 100755 index 1a47426..ab66b3a --- a/ssh-host.py +++ b/ssh-host.py @@ -2,12 +2,12 @@ import subprocess import argparse import configparser -cp = configparser.ConfigParser(interpolate=configparser.ExtendedInterpolation()) +cp = configparser.ConfigParser(interpolation=configparser.ExtendedInterpolation()) cp.read('hostnames.ini') if __name__ == "__main__": parser = argparse.ArgumentParser() group = parser.add_mutually_exclusive_group(required=True) - group.add_argument('-o','—-wan',action = 'store_true') + group.add_argument('-o','--wan',action = 'store_true') group.add_argument('-l','--lan',action = 'store_true') parser.add_argument('-p','--pre-script', help= 'script to run before connecting(in config dir)') parser.add_argument('name',help='name of config file to use (sans .cfg)')