From 7d5db9311d105976d220c80549ca2ae6c31f818f Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 1 Jun 2012 18:20:13 +0200 Subject: [PATCH] Accept more configuration file options as arguments. --- slapos/agent/agent.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/slapos/agent/agent.py b/slapos/agent/agent.py index 4f260c8..c948f6f 100644 --- a/slapos/agent/agent.py +++ b/slapos/agent/agent.py @@ -117,6 +117,12 @@ class Agent: def main(*args): parser = argparse.ArgumentParser() 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(), help="Slap Test Agent configuration file.") if args: -- 2.30.9