Skip to content

[autobackport: sssd-2-13] Fix: sss_analyze.py modified to print correct command in usage field#8734

Merged
justin-stephenson merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8723-to-sssd-2-13
May 26, 2026
Merged

[autobackport: sssd-2-13] Fix: sss_analyze.py modified to print correct command in usage field#8734
justin-stephenson merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8723-to-sssd-2-13

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8723 Fix: sss_analyze.py modified to print correct command in usage field to branch sssd-2-13, created by @asakure.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot [email protected]:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8723-to-sssd-2-13
git checkout SSSD-sssd-backport-pr8723-to-sssd-2-13
git push sssd-bot SSSD-sssd-backport-pr8723-to-sssd-2-13 --force

Original commits
30a4940 - Component: sssd-tools

Backported commits


Original Pull Request Body

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

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

Copy link
Copy Markdown

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 argparse.ArgumentParser initialization in src/tools/analyzer/sss_analyze.py to explicitly set the program name (prog) to 'sssctl analyze'. This ensures that the help output displays the correct command name. There are no review comments, so I have no additional feedback to provide.

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

Resolves: SSSD#8718
Reviewed-by: Justin Stephenson <[email protected]>
(cherry picked from commit 30a4940)
@sssd-bot

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @justin-stephenson with the following PR CI status:


🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-42-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-44-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)
🟢 Build / freebsd (success)
🔴 Build / make-distcheck (failure)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr8723-to-sssd-2-13 branch from 16a0cdf to effea8a Compare May 26, 2026 15:06
@justin-stephenson
justin-stephenson merged commit b292c6d into SSSD:sssd-2-13 May 26, 2026
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants