The -d option of the ipa-advise command was able to used.

The -d option of the ipa-advise command was unavailable, so the default value was changed to True to enable its use.

Fixes: https://pagure.io/freeipa/issue/9625
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Shunsuke matsumoto 2024-07-10 13:13:38 +09:00 committed by Florence Blanc-Renaud
parent a8e75bbb77
commit 06c02f5f2c

View File

@ -451,7 +451,7 @@ class IpaAdvise(admintool.AdminTool):
@classmethod
def add_options(cls, parser):
super(IpaAdvise, cls).add_options(parser)
super(IpaAdvise, cls).add_options(parser, debug_option=True)
def validate_options(self):
super(IpaAdvise, self).validate_options(needs_root=False)