bat cache --build says "unexpected argument '--build' found"
by markus-n from LinuxQuestions.org on (#6F1DQ)
According to the README on bat's GitHub page as well as the man page, I should run bat cache --build when I want to add a new syntax definition. But when I do so, I get this error:
error: unexpected argument '--build' found.
Trying just bat cache says
[bat error]: 'cache': No such file or directory (os error 2)
but unfortunately it does not specify which file it expected to find. My assumption is that it has problems creating the cache for the first time.
Any ideas?
Can I initialize the cache somehow?
error: unexpected argument '--build' found.
Trying just bat cache says
[bat error]: 'cache': No such file or directory (os error 2)
but unfortunately it does not specify which file it expected to find. My assumption is that it has problems creating the cache for the first time.
Any ideas?
Can I initialize the cache somehow?