format: don't assume alter_user or alter_network.

It is assumed when arguments and config parameters are merged.
Otherwise, it is not possible to set this option from the .cfg.
parent a91f939e
...@@ -35,13 +35,11 @@ class FormatCommand(ConfigCommand): ...@@ -35,13 +35,11 @@ class FormatCommand(ConfigCommand):
ap.add_argument('--alter_user', ap.add_argument('--alter_user',
choices=['True', 'False'], choices=['True', 'False'],
default='True',
help='Shall slapformat alter user database' help='Shall slapformat alter user database'
' (default: %(default)s)') ' (default: %(default)s)')
ap.add_argument('--alter_network', ap.add_argument('--alter_network',
choices=['True', 'False'], choices=['True', 'False'],
default='True',
help='Shall slapformat alter network configuration' help='Shall slapformat alter network configuration'
' (default: %(default)s)') ' (default: %(default)s)')
......
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