Skip to content
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

[Feature]: Ability to negate boolean options on the command-line #995

Open
1 task done
SpaceshipOperations opened this issue Feb 22, 2024 · 0 comments
Open
1 task done
Assignees

Comments

@SpaceshipOperations
Copy link

SpaceshipOperations commented Feb 22, 2024

Version

  • latest

version

lsd 1.0.0

What OS are you seeing the problem on?

Linux

installation

pacman -S lsd

term

xterm-kitty

ls-colors

`` (empty)

What happened?

It's cool to be able to use header: true in the config. However, this denies me the ability to have lsd list files without a header.

What expected?

It would be great to be able to negate the --header option, and ideally all other boolean options (if it makes sense at least).

What else?

A mere suggestion, but I think a simple and consistent formula would be best. Wherever applicable, each boolean long option would have a negative version prefixed with no- (e.g. --header--no-header), and each boolean short option can be negated by prefixing it with a plus. lsd -llsd +l.

@SpaceshipOperations SpaceshipOperations changed the title [Feature]: Add ability to negate boolean options on the command-line [Feature]: Ability to negate boolean options on the command-line Feb 22, 2024
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

No branches or pull requests

2 participants