Skip to content

Fix: sss_analyze.py modified to print correct command in usage field#8723

Draft
asakure wants to merge 1 commit into
SSSD:masterfrom
asakure:sssctl_analyze_help
Draft

Fix: sss_analyze.py modified to print correct command in usage field#8723
asakure wants to merge 1 commit into
SSSD:masterfrom
asakure:sssctl_analyze_help

Conversation

@asakure
Copy link
Copy Markdown

@asakure asakure commented May 22, 2026

Explanation: This patch will make sure to print correct command i.e. sssctl analyze in usage field on running sssctl analyze --help command avoiding confusion.

Resolves: #8718

Explanation: This patch will make sure to print correct command on
running 'sssctl analyze --help' command avoiding confusion.

Resolves: SSSD#8718
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ArgumentParser in src/tools/analyzer/sss_analyze.py to explicitly set the program name to 'sssctl analyze', ensuring that the help output correctly reflects the tool's invocation. I have no feedback to provide as there were no review comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'sssctl analyze --help' shows incorrect command 'sss_analyze' in usage field

1 participant