mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 06:38:02 -05:00
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:
1 parent
5b87f587ea
commit
64d6c6cc6b
1 file changed
+6
-5
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user