From 64d6c6cc6b35798cc103df09e2833622f77d6323 Mon Sep 17 00:00:00 2001 From: MIZUTA Takeshi Date: Fri, 21 May 2021 01:13:12 +0900 Subject: [PATCH] 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 --- ipaserver/install/ipa_ldap_updater.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ipaserver/install/ipa_ldap_updater.py b/ipaserver/install/ipa_ldap_updater.py index 7a1d2c59e..95edf0936 100644 --- a/ipaserver/install/ipa_ldap_updater.py +++ b/ipaserver/install/ipa_ldap_updater.py @@ -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):