Skip to content

--theme: return a list of all themes if the theme argument doesn't match#3456

Open
monkeydom wants to merge 5 commits intosharkdp:masterfrom
monkeydom:dom/all-themes
Open

--theme: return a list of all themes if the theme argument doesn't match#3456
monkeydom wants to merge 5 commits intosharkdp:masterfrom
monkeydom:dom/all-themes

Conversation

@monkeydom
Copy link
Copy Markdown

This turns:

[bat warning]: Unknown theme 'SolarizedDark', using default.

Into a more actionable:

[bat warning]: Unknown theme 'SolarizedDark', using default. (Available themes: 1337, Coldark-Cold, Coldark-Dark, DarkNeon, Dracula, GitHub, Monokai Extended, Monokai Extended Bright, Monokai Extended Light, Monokai Extended Origin, Nord, OneHalfDark, OneHalfLight, Solarized (dark), Solarized (light), Sublime Snazzy, TwoDark, Visual Studio Dark+, ansi, base16, base16-256, gruvbox-dark, gruvbox-light, zenburn)

Might be worth doing a fuzzy prefix match too maybe?

@monkeydom
Copy link
Copy Markdown
Author

Bump: please don't let this degrade again so much that you just flat out reject it because I'm not quick enough to respond. If you don't want the PR close it or take it. I know its just a little thing, but it was a quality of life improvement for my use case.

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.

1 participant