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

Deal with lists of values #10

Closed
tertsdiepraam opened this issue Dec 20, 2022 · 1 comment
Closed

Deal with lists of values #10

tertsdiepraam opened this issue Dec 20, 2022 · 1 comment

Comments

@tertsdiepraam
Copy link
Member

There are a few options in coreutils which accept lists of values, e.g.

  • cut --fields
  • chroot --groups

Sometimes these are additive, sometimes they override and sometimes they can only be passed once.

We need to figure out a way to deal with these case. The overriding case is easy (just parse into a vec and override the vec like any other value). Additive and only once are harder cases.

@tertsdiepraam
Copy link
Member Author

Well, can't find any additive cases and the set-only-once is the same case as https:/tertsdiepraam/uutils-args/issues/11

@tertsdiepraam tertsdiepraam closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
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

No branches or pull requests

1 participant