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

" --binary --tag --untagged --binary" should display the asterisk #6375

Open
sylvestre opened this issue May 7, 2024 · 0 comments
Open

" --binary --tag --untagged --binary" should display the asterisk #6375

sylvestre opened this issue May 7, 2024 · 0 comments

Comments

@sylvestre
Copy link
Sponsor Contributor

This code only considers the first occurrence of each flag, which leads to no meaningful behavior, because all subsequent flags get ignored. This is demonstrably wrong:

$ cargo run -q --features cksum cksum -a md5 --binary --tag --untagged --binary README.md 
e5773576fc75ff0f8eba14f61587ae28  README.md
$ cksum -a md5 --binary --tag --untagged --binary README.md 
e5773576fc75ff0f8eba14f61587ae28 *README.md

Originally posted by @BenWiederhake in #6256 (comment)

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

1 participant