We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0e0de7 + ce00c0b commit a4f6e1aCopy full SHA for a4f6e1a
src/uu/cksum/src/cksum.rs
@@ -164,7 +164,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
164
// Set the default algorithm to CRC when not '--check'ing.
165
let algo_kind = algo_cli.unwrap_or(AlgoKind::Crc);
166
167
- let tag = matches.get_flag(options::TAG) || !matches.get_flag(options::UNTAGGED);
+ let tag = !matches.get_flag(options::UNTAGGED); // Making TAG default at clap blocks --untagged
168
let binary = matches.get_flag(options::BINARY);
169
170
let algo = SizedAlgoKind::from_unsized(algo_kind, length)?;
0 commit comments