mirror of
https://github.com/uutils/coreutils
synced 2024-07-21 18:04:45 +00:00
refactor/hashsum ~ polish spelling (comments, names, and exceptions)
This commit is contained in:
parent
1a37d502d1
commit
a481e8230b
|
@ -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…
Reference in a new issue