Remove -s option from ipa-ldap-updater usage

The -s option no longer exists, so remove it from the command usage.
Also, due to this fix, E128 occurred in pycodestyle, so the coding style was changed.

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
MIZUTA Takeshi authored and Rob Crittenden committed 2021-05-20 14:45:27 -04:00
1 parent 5b87f587ea
commit 64d6c6cc6b
1 file changed
+6 -5
+6 -5
View File
@@ -51,12 +51,13 @@ class LDAPUpdater(admintool.AdminTool):
@classmethod
def add_options(cls, parser):
super(LDAPUpdater, cls).add_options(parser, debug_option=True)
parser.add_option("-u", '--upgrade', action="store_true",
dest="upgrade", default=False,
parser.add_option(
"-u", '--upgrade', action="store_true", dest="upgrade",
default=False,
help="upgrade an installed server in offline mode")
parser.add_option("-S", '--schema-file', action="append",
dest="schema_files",
help="custom schema ldif file to use (implies -s)")
parser.add_option(
"-S", '--schema-file', action="append", dest="schema_files",
help="custom schema ldif file to use")
@classmethod
def get_command_class(cls, options, args):