Skip to content

WIP: cmd: migrate from getopt to argp#71

Closed
sinuscosinustan wants to merge 0 commit intoamboar:mainfrom
sinuscosinustan:argument-parsing
Closed

WIP: cmd: migrate from getopt to argp#71
sinuscosinustan wants to merge 0 commit intoamboar:mainfrom
sinuscosinustan:argument-parsing

Conversation

@sinuscosinustan
Copy link
Collaborator

Work in progress! Use with caution and consider this as breaking!!!!!!!!!

The argument handling is quite hard to make it good when using getopt with help and usage messages. The argp library is a better choice for this task and can be easily extended.

@amboar
Copy link
Owner

amboar commented Dec 6, 2024

Nice! I'm interested in continuing this experiment.

@amboar
Copy link
Owner

amboar commented Dec 9, 2024

Ugh, this wasn't meant to get closed. See the explanation in #70 (comment)

Like #70 I can't seem to re-open this.

@sinuscosinustan
Copy link
Collaborator Author

w00ps. I'll force-push my branch and open a new PR.

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.

2 participants