Skip to content

GUI: modernise#776

Draft
vassilit wants to merge 3 commits into
devfrom
gui
Draft

GUI: modernise#776
vassilit wants to merge 3 commits into
devfrom
gui

Conversation

@vassilit

Copy link
Copy Markdown
Collaborator

No description provided.

vassilit added 3 commits July 17, 2026 09:58
pygobject 3.56 removed the GLib.option module, which was
a wrapper for Python optparse.Their MR #273 suggests to
use OptionContext, but they removed it also (MR #499)!

- migrated to Python's standard library's argparse.
- unknown options now print usage and exit 2 instead of logging and
  exiting 0.
- fixed -V --less-verbose (used to do the opposite)
- warn about ignored positional arguments
  (was always permitted and ignored)
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.

1 participant