summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py
index 6f0dedc1e..6437bc97c 100644
--- a/src/lib/Options.py
+++ b/src/lib/Options.py
@@ -202,6 +202,10 @@ CLIENT_USER = Option('the user to provide for authentication', default='root',
INTERACTIVE = Option('prompt the user for each change', default=False,
cmd='-I', )
+AGENT_PORT = Option('Agent port', default=6789, cmd='-p', odesc='<port>',
+ cf=('communication', 'agent-port'))
+AGENT_HOST = Option('Remote host', default=False, cmd='-H', odesc='<hostname>')
+
class OptionParser(OptionSet):
'''OptionParser bootstraps option parsing, getting the value of the config file'''
def __init__(self, args):