bat-extras
bat-extras copied to clipboard
prettybat: error when using `-p`/`--plain`
trafficstars
I'm trying to use prettybat without line numbers, but I'm getting errors with both -p and --plain:
$ prettybat --plain file.json
error: The value '' was provided to '--plain' but it wasn't expecting any more values
bat --theme <theme>
For more information try --help
$ prettybat -p file.json
error: Found argument '-=' which wasn't expected, or isn't valid in this context
If you tried to supply `-=` as a value rather than a flag, use `-- -=`
USAGE:
bat [OPTIONS] [FILE]...
bat <SUBCOMMAND>
For more information try --help
Version:
$ prettybat --version
prettybat 2022.07.27
Copyright (C) 2019-2021 eth-p | MIT License
https://github.com/eth-p/bat-extras
Installed with brew install bat-extras on macOS 13 (Apple Silicon).
Thanks for pointing this out! It's now fixed in master, and will be released soon.