Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setfacl: set last(true) for arg with num_args set #12

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

cakebaker
Copy link
Contributor

When running cargo run setfacl --help, the following error is shown:

thread 'main' panicked at /home/dho/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.1/src/builder/debug_asserts.rs:584:9:
Positional argument `[option]...` *must* have `required(true)` or `last(true)` set because a prior positional argument (`<FILE>...`) has `num_args(1..)`

This PR fixes this issue by setting last(true).

@sylvestre sylvestre merged commit 6c2f5ba into uutils:main Feb 23, 2024
5 of 9 checks passed
@cakebaker cakebaker deleted the setfacl_set_last branch February 23, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants