mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-15 01:31:08 +00:00
refactor/hashsum ~ polish spelling (comments, names, and exceptions)
This commit is contained in:
parent
1a37d502d1
commit
a481e8230b
1 changed files with 2 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ pub fn uumain(mut args: impl uucore::Args) -> i32 {
|
|||
);
|
||||
|
||||
if !is_custom_binary(&binary_name) {
|
||||
let algos = &[
|
||||
let algorithms = &[
|
||||
("md5", "work with MD5"),
|
||||
("sha1", "work with SHA1"),
|
||||
("sha224", "work with SHA224"),
|
||||
|
|
@ -393,7 +393,7 @@ pub fn uumain(mut args: impl uucore::Args) -> i32 {
|
|||
("b2sum", "work with BLAKE2"),
|
||||
];
|
||||
|
||||
for (name, desc) in algos {
|
||||
for (name, desc) in algorithms {
|
||||
app = app.arg(Arg::with_name(name).long(name).help(desc));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue