Repository navigation
fix(px001): return success for top-level CLI help - #209
Merged
Merged
Conversation
Owner
Author
|
Independent maintainer-side regression via SentinelX on Windows, exact commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #187 and the published Linux smoke evidence in #208.
The v0.6.1 portable binary printed the Windows program name on Kali and returned 2 for --help. Top-level --help and -h now return 0 and show the platform command name. An unknown option still returns 2. The help path is handled by bootstrap without setup, configuration loading or scanner dispatch.
Verification: regression reproduced before the fix. Targeted bootstrap and project-scope suites passed. All 281 offline suites passed on Windows with UTF-8 and color-capable terminal settings. Both help flags and an unknown flag were checked through python -m penx_app on Kali 2026.3 using the changed source entry point. Distribution validation and git diff --check passed.
No migration or release changes. Packaged CI and independent field acceptance remain pending.
Additional packaged verification on Windows passed for commit 82da919. The freshly built portable EXE printed Usage: PenX.exe and returned 0 for both help flags and 2 for an unknown flag. Linux packaged CI and independent field acceptance remain pending.