mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
hashsum: rename the variable for something more explicit
This commit is contained in:
parent
23d5235e7c
commit
7a46ea371f
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ pub fn uumain(mut args: impl uucore::Args) -> UResult<()> {
|
||||||
// least somewhat better from a user's perspective.
|
// least somewhat better from a user's perspective.
|
||||||
let matches = command.try_get_matches_from(args)?;
|
let matches = command.try_get_matches_from(args)?;
|
||||||
|
|
||||||
let (name, algo, bits) = detect_algo(&binary_name, &matches)?;
|
let (algoname, algo, bits) = detect_algo(&binary_name, &matches)?;
|
||||||
|
|
||||||
let binary = if matches.get_flag("binary") {
|
let binary = if matches.get_flag("binary") {
|
||||||
true
|
true
|
||||||
|
@ -355,7 +355,7 @@ pub fn uumain(mut args: impl uucore::Args) -> UResult<()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
let opts = Options {
|
let opts = Options {
|
||||||
algoname: name,
|
algoname,
|
||||||
digest: algo,
|
digest: algo,
|
||||||
output_bits: bits,
|
output_bits: bits,
|
||||||
binary,
|
binary,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue