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

sha1sum -c testf.sha1 is failing with an weird error #3815

Closed
sylvestre opened this issue Aug 14, 2022 · 0 comments · Fixed by #3816
Closed

sha1sum -c testf.sha1 is failing with an weird error #3815

sylvestre opened this issue Aug 14, 2022 · 0 comments · Fixed by #3816
Labels

Comments

@sylvestre
Copy link
Contributor

with

#export C=./target/debug/coreutils 
echo "foobar" > testf
sha1sum testf > testf.sha1  
$C sha1sum --check testf.sha1

With GNU:
testf: OK

With Rust:

thread 'main' panicked at 'Mismatch between definition and access of `no-names`. Unknown argument or group id.  Make sure you are using the argument id and not the short or long flags
', /home/sylvestre/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.2.15/src/parser/matches/arg_matches.rs:318:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Tested in GNU by tests/misc/sha1sum.pl

sylvestre added a commit to sylvestre/coreutils that referenced this issue Aug 14, 2022
@tertsdiepraam tertsdiepraam linked a pull request Aug 15, 2022 that will close this issue
tertsdiepraam added a commit that referenced this issue Aug 15, 2022
sha1sum: fix the -c usage (Closes: #3815)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant