From f265180bdfec3f0a4186f2f6b7e4e0b31b83c6a3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 7 Oct 2019 09:04:47 +0200 Subject: [PATCH] fix cli args --- ansibledoctor/Cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansibledoctor/Cli.py b/ansibledoctor/Cli.py index ed551a6..1727c27 100644 --- a/ansibledoctor/Cli.py +++ b/ansibledoctor/Cli.py @@ -93,7 +93,7 @@ class AnsibleDoctor: self.log.debug("using configuration file: " + conf_file) # Overwrite - if args.y is True: + if args.force is True: self.config.template_overwrite = True # Dry run @@ -104,12 +104,12 @@ class AnsibleDoctor: self.log.info("Running in Dry mode: Therefore setting log level at least to INFO") # Print template - if args.p == "_unset_": + if args.print == "_unset_": pass - elif args.p is None: + elif args.print is None: self.config.use_print_template = "all" else: - self.config.use_print_template = args.p + self.config.use_print_template = args.print # output dir if args.output is not None: