Skip to content
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

Please use double-dash instead of single-dash for long name options #35

Closed
david-a-wheeler opened this issue Nov 15, 2022 · 2 comments
Closed

Comments

@david-a-wheeler
Copy link

david-a-wheeler commented Nov 15, 2022

Most Unix/POSIX tools have an option convention of - followed by a collection of single-letter options, and -- followed by a single long-name option. Long options came from GNU but many other tools also support them. E.g.:

ls -ad
ls --all --directory

So I think:

osf generate –assertion reproducible -subject pkg:npm/[email protected] –repository assertions.openssf.org

Should be:

osf generate --assertion reproducible --subject pkg:npm/[email protected] --repository assertions.openssf.org

If this is already happening, and it's just misleading due to markdown formatting, then never mind... :-).

@david-a-wheeler
Copy link
Author

@scovetta - I wasn't sure if this was the right project to post to, but I figured it'd be best to put this somewhere.

@scovetta
Copy link
Contributor

Confirmed, all switches are double dashes.

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

No branches or pull requests

2 participants