refactor/hashsum ~ polish spelling (comments, names, and exceptions)

This commit is contained in:
Roy Ivy III 2021-05-30 18:31:07 -05:00
parent 1a37d502d1
commit a481e8230b

View file

@ -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));
}
}