8000 [ttx] use GNU-style getopt to intermix options and positional arguments by anthrotype · Pull Request #3509 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ttx] use GNU-style getopt to intermix options and positional arguments #3509

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

Merged
merged 1 commit into from
May 17, 2024

Conversation

anthrotype
Copy link
Member

Fixes #3507

@anthrotype anthrotype requested a review from justvanrossum May 17, 2024 11:08
Copy link
Collaborator
@justvanrossum justvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, great find, thanks!

@anthrotype anthrotype merged commit b2b7710 into main May 17, 2024
11 checks passed
@anthrotype anthrotype deleted the ttx-gnu-getopt branch May 17, 2024 11:19
@khaledhosny
Copy link
Collaborator

Best 4-char patch of the year.

@anthrotype
Copy link
Member Author

I wonder why I'd never even realised that ttx had this sort of limitation, I guess I'm used to write the options first followed by the input file instead of the other way around

@khaledhosny
Copy link
Collaborator

I suffer from it probably every time I use ttx, but I have always accepted it as a fact of life!

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.

ttx option parse order
3 participants
0