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

[feature] Add args_override_self(true) #34

Closed
bryceberger opened this issue Mar 5, 2023 · 2 comments
Closed

[feature] Add args_override_self(true) #34

bryceberger opened this issue Mar 5, 2023 · 2 comments

Comments

@bryceberger
Copy link
Contributor

Reasoning: I would like to make an alias to change some default behavior (sort, prefixes (future), etc). However, supplying the same argument twice (et -s name -s size) is an error.

Current behavior: et -s name -s size will not execute, with the message (from clap) that --sort cannot be used multiple times.
Expected behavior: et -s name -s size will execute, and sort output by size.

(This is a 3 line change and I have a PR ready, just wanted approval first as stated in the readme)

@solidiquis
Copy link
Owner

Feel free to submit the PR!

@solidiquis
Copy link
Owner

#35

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

2 participants