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

The --+ command line option syntax does not work #452

Closed
gwsw opened this issue Nov 12, 2023 · 1 comment
Closed

The --+ command line option syntax does not work #452

gwsw opened this issue Nov 12, 2023 · 1 comment

Comments

@gwsw
Copy link
Owner

gwsw commented Nov 12, 2023

Steps to reproduce:

  1. Create a lesskey file containing LESS = --use-color in the #env section.
  2. Run less --+use-color FILE.

Expected result:
Less should run with the --use-color option disabled (set to its default).

Actual result:
Less displays an error message There is no +use-color option and the --use-color option remains enabled.

@gwsw
Copy link
Owner Author

gwsw commented Nov 16, 2023

Fixed in 8b71b29.

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

1 participant