Commit 7d5db931 authored by Vincent Pelletier's avatar Vincent Pelletier

Accept more configuration file options as arguments.

parent d78c4f16
...@@ -117,6 +117,12 @@ class Agent: ...@@ -117,6 +117,12 @@ class Agent:
def main(*args): def main(*args):
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("--pidfile", help="The location where pidfile will be created.") parser.add_argument("--pidfile", help="The location where pidfile will be created.")
parser.add_argument("--log_directory", help="")
parser.add_argument("--state_file", help="")
parser.add_argument("--path_file", help="")
parser.add_argument("--key_file", help="Key file path for https connection to master.")
parser.add_argument("--cert_file", help="Certificate file path for https "
"connection to master")
parser.add_argument("configuration_file", nargs=1, type=argparse.FileType(), parser.add_argument("configuration_file", nargs=1, type=argparse.FileType(),
help="Slap Test Agent configuration file.") help="Slap Test Agent configuration file.")
if args: if args:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment