Commit 78fc0861 authored by Marco Mariani's avatar Marco Mariani

typo

parent bf1ec145
...@@ -17,7 +17,7 @@ class ConfigCommand(Command): ...@@ -17,7 +17,7 @@ class ConfigCommand(Command):
default_config_var = 'SLAPOS_CONFIGURATION' default_config_var = 'SLAPOS_CONFIGURATION'
# use this is default_config_var does not exist # use this if default_config_var does not exist
default_config_path = '/etc/opt/slapos/slapos.cfg' default_config_path = '/etc/opt/slapos/slapos.cfg'
def get_parser(self, prog_name): def get_parser(self, prog_name):
......
...@@ -22,6 +22,8 @@ class SlapgridCommand(ConfigCommand): ...@@ -22,6 +22,8 @@ class SlapgridCommand(ConfigCommand):
def get_parser(self, prog_name): def get_parser(self, prog_name):
ap = super(SlapgridCommand, self).get_parser(prog_name) ap = super(SlapgridCommand, self).get_parser(prog_name)
# XXX TODO separate parsers for instance, software and report
ap.add_argument('--instance-root', ap.add_argument('--instance-root',
help='The instance root directory location.') help='The instance root directory location.')
ap.add_argument('--software-root', ap.add_argument('--software-root',
......
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