log server is also usefull for cdist config
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
831bfc822b
commit
57e352cd1e
3 changed files with 19 additions and 10 deletions
|
|
@ -250,6 +250,12 @@ def get_parsers():
|
|||
'-S', '--disable-saving-output-streams',
|
||||
help='Disable saving output streams.',
|
||||
action='store_false', dest='save_output_streams', default=True)
|
||||
parser['config_main'].add_argument(
|
||||
'--log-server',
|
||||
action='store_true',
|
||||
help=('Start a log server for sub processes to use.'
|
||||
'This is mainly usefull when running cdist nested'
|
||||
'from a code-local script.'))
|
||||
|
||||
# Config
|
||||
parser['config_args'] = argparse.ArgumentParser(add_help=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue