Commit d8484504 authored by Vincent Pelletier's avatar Vincent Pelletier

Reuse no-op -n/--dry_run option.

This was not implemented, and I overlooked it when implementing
-d/--dry-run option for some reason.
parent d7644474
......@@ -723,8 +723,9 @@ class Parser(OptionParser):
"declaration.",
type=str),
Option("-n", "--dry_run",
help="Apply no changes, only print what would happen.",
type=str),
help="Don't actually do anything.",
default=False,
action="store_true"),
Option("-v", "--verbose",
default=False,
action="store_true",
......@@ -737,10 +738,6 @@ class Parser(OptionParser):
help="Shall slapformat alter user database [default: True]"),
Option('--alter_network', choices=['True', 'False'],
help="Shall slapformat alter network configuration [default: True]"),
Option("-d", "--dry-run",
default=False,
action="store_true",
help="Don't actually do anything."),
])
def check_args(self):
......
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