Skip to content

Conversation

@jglogan
Copy link
Contributor

@jglogan jglogan commented Jan 15, 2026

Co-author: Chris Naples cnaples79@gmail.com (@cnaples79)

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

That error message is really vexing.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

- Fixes apple#360.
- Adapts apple#730 to new dispatch mechanism.
- Gets rid of wonky error message when `--debug` is
  placed after the subcommand and before `--`.
@jglogan jglogan changed the title Reorder global args to start of list (credit: @cnaples79). Reorder global args to start of list. Jan 15, 2026
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.

[Bug]: "Error: Unknown option '--debug'. Did you mean '--debug'?"

1 participant