Commit aada3f6a authored by Vivien Alger's avatar Vivien Alger

Adding one more argument

parent c715ccf9
...@@ -79,6 +79,10 @@ def parseCli(): ...@@ -79,6 +79,10 @@ def parseCli():
usage = """ %(prog)s <filepath> <xml-path> -s [sections] -opts [options] """ usage = """ %(prog)s <filepath> <xml-path> -s [sections] -opts [options] """
parser = ArgumentParser(prog="kvm_monitor.py", usage=usage) parser = ArgumentParser(prog="kvm_monitor.py", usage=usage)
parser.add_argument("script_name",
help="Script name passed as argument because sys.exit wrapper"
)
parser.add_argument("filepath", parser.add_argument("filepath",
help="Path to the configuration file with the informations" help="Path to the configuration file with the informations"
) )
......
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