eza
eza copied to clipboard
feat: Make eza fail when built with -git and the --git parameter is given in the command line
Currently how would we test if an eza binary was built with -git
(git feature disabled)?
I see this fails as expected:
❯ eza --git
eza: Options --git and --git-ignore can't be used because `git` feature was disabled in this build of exa
But not these:
❯ eza --git --help
...
❯ eza --git --version
...
(Although all the above always fail when an unknown parameter is given, like --gix
)
Can we make eza always fail when the --git
parameter is given and it was build with -git
?