Commit af66f9a6 authored by Marco Mariani's avatar Marco Mariani

on help: print configuration file defaults

parent 25b522e6
...@@ -22,7 +22,9 @@ class ConfigCommand(Command): ...@@ -22,7 +22,9 @@ class ConfigCommand(Command):
def get_parser(self, prog_name): def get_parser(self, prog_name):
ap = super(ConfigCommand, self).get_parser(prog_name) ap = super(ConfigCommand, self).get_parser(prog_name)
ap.add_argument('--cfg', help='SlapOS configuration file') ap.add_argument('--cfg', help='SlapOS configuration file - ' +
'defaults to $%s ' % self.default_config_var +
'or %s' % self.default_config_path)
return ap return ap
def _get_config(self, cfg_path, required=False): def _get_config(self, cfg_path, required=False):
......
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