-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allow for multiple occurences of "--style" #367
Comments
I'd like to take this issue |
Is the idea that the last argument overrides the first? So that |
Exactly. It would be great if |
@sharkdp: That sounds logical. I have created PR #371. It has code both to make style override style, and style and plain overrides each other. So only one the last one of those will have an effect. I had to remove clap's splitting of the arguments in style. When using clap's splitting with overriding, it only keep the last one in the set. So |
This is now available in bat 0.9. |
There should be a way to specify
--style
multiple times. This way, users can set--style=numbers,changes
in their config file, but still use--style=changes
on the command line.The text was updated successfully, but these errors were encountered: