Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hang on command line parsing #477

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix hang on command line parsing #477

wants to merge 4 commits into from

Conversation

nephros
Copy link
Contributor

@nephros nephros commented Nov 29, 2024

Some of the recent changes broke command line handling in some cases, causing
the patchmanager program to hang.

E.g calling patchmanger without any options, or -u without a parameter etc.

This reworks parameter handling, fixing these cases and very likely introducing new bugs.

It also drive-by introduces a --version switch that may be useful at some point.

  • Declare help static
  • Add a version() method
  • Adapt parameter handling
  • Adapt parameter handling II

@nephros nephros added the bug something that needs fixing label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something that needs fixing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant