Skip to content

Commit

Permalink
uniq: set default missing value for "group" arg
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Jun 24, 2022
1 parent 78a77c4 commit 216ab88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/uu/uniq/src/uniq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ pub fn uu_app<'a>() -> Command<'a> {
.value_name("group-method")
.min_values(0)
.max_values(1)
.default_missing_value("separate")
.require_equals(true)
.conflicts_with_all(&[
options::REPEATED,
options::ALL_REPEATED,
Expand Down

0 comments on commit 216ab88

Please sign in to comment.