Skip to content

Commit

Permalink
Merge pull request #12 from cakebaker/setfacl_set_last
Browse files Browse the repository at this point in the history
setfacl: set `last(true)` for arg with `num_args` set
  • Loading branch information
sylvestre authored Feb 23, 2024
2 parents 276f1ec + 8edeff4 commit 6c2f5ba
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 6c2f5ba

Please sign in to comment.