mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
ptx: fix an incorrect option name in option parsing
This commit is contained in:
parent
5fc007b295
commit
7b20c79bdd
1 changed files with 2 additions and 2 deletions
|
@ -169,9 +169,9 @@ fn get_config(matches: &clap::ArgMatches) -> Config {
|
|||
.expect(err_msg)
|
||||
.to_string();
|
||||
}
|
||||
if matches.is_present(options::IGNORE_CASE) {
|
||||
if matches.is_present(options::FLAG_TRUNCATION) {
|
||||
config.trunc_str = matches
|
||||
.value_of(options::IGNORE_CASE)
|
||||
.value_of(options::FLAG_TRUNCATION)
|
||||
.expect(err_msg)
|
||||
.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue