Skip to content

Commit d664f91

Browse files
authored
lib.rs: Remove non GNU hashsum aliases
1 parent a7e4e91 commit d664f91

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/uucore/src/lib/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ pub fn get_canonical_util_name(util_name: &str) -> &str {
170170
"[" => "test",
171171

172172
// hashsum aliases - all these hash commands are aliases for hashsum
173-
"md5sum" | "sha1sum" | "sha224sum" | "sha256sum" | "sha384sum" | "sha512sum"
174-
| "sha3sum" | "sha3-224sum" | "sha3-256sum" | "sha3-384sum" | "sha3-512sum"
175-
| "shake128sum" | "shake256sum" | "b2sum" | "b3sum" => "hashsum",
173+
"md5sum" | "sha1sum" | "sha224sum" | "sha256sum" | "sha384sum" | "sha512sum" | "b2sum" => "hashsum",
176174

177175
"dir" => "ls", // dir is an alias for ls
178176

0 commit comments

Comments
 (0)