Browse Source

fixed some typos

master
Raphael Roberts 7 years ago
parent
commit
9493f31740
  1. 4
      ssh-host.py

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

Loading…
Cancel
Save