Skip to content

Commit

Permalink
setfacl: set last(true) for arg with num_args set
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Feb 23, 2024
1 parent b111f92 commit 8edeff4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/uu/setfacl/src/setfacl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,10 @@ pub fn uu_app() -> Command {
.arg(Arg::new("test").long("test").help(
"Test mode. Instead of changing the ACLs of any files, the resulting ACLs are listed",
))
.arg(Arg::new("option").action(ArgAction::Set).num_args(0..))
.arg(
Arg::new("option")
.action(ArgAction::Set)
.num_args(0..)
.last(true),
)
}

0 comments on commit 8edeff4

Please sign in to comment.