Skip to content

Conversation

Artoria2e5
Copy link

The linked criticism to getopt only applies to the legacy stuff, which has no long arg support to start with.

The linked criticism to getopt only applies to the legacy stuff, which has no long arg support to start with.
@matejak
Copy link
Owner

matejak commented Oct 2, 2020

Thank you for the PR, I could merge it right away, but it would be even better if you could include some kind of reference that would support the non-standard claim. Do you have something fitting in your sleeve?

@matejak matejak added this to the 2.11.0 milestone Oct 2, 2020
@matejak matejak self-assigned this Oct 2, 2020
@Artoria2e5
Copy link
Author

I think the FreeBSD getopt(1) manpage would be the place. The BSD people always document the history and standards (if any) well. I might not do this immediately though, since I am too tired right now to type more code on a phone… (and my laptop screen is dead)

@matejak matejak removed this from the 2.11.0 milestone Apr 27, 2025
@matejak
Copy link
Owner

matejak commented Apr 27, 2025

https://man.freebsd.org/cgi/man.cgi?query=getopt&apropos=0&sektion=1&manpath=FreeBSD+15.0-CURRENT&arch=default&format=html points out some issues, but probably not the same that you specify.
I would like to back claims by references, so please give it one more thought.

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