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 Request: support --verbose=<level> #823

Open
jshort opened this issue Oct 19, 2022 · 0 comments
Open

Feature Request: support --verbose=<level> #823

jshort opened this issue Oct 19, 2022 · 0 comments

Comments

@jshort
Copy link

jshort commented Oct 19, 2022

I was debugging an app that uses cxxopts and easyloggingpp and realized that the easy logging setup was not respecting --verbose=9 but it does work with -v 9 or --verbose 9. Is there a reason standard long option format with an equals sign does not work?

The documentation says --v=9 should work but cxxopts throws an exception on this anyway but it seems to be an atypical option style (half short option half long option with equals arg).

jshort added a commit to jshort/easyloggingpp that referenced this issue Oct 19, 2022
ELPP will now support --verbose which will set maximum verbosity or with
a specified level (both in short and long option form):
  * --v=2
  * --verbose=2
  * --verbose (sets verbosity to 9)

Fixes abumq#823
jshort added a commit to jshort/easyloggingpp that referenced this issue Oct 19, 2022
ELPP will now support --verbose which will set maximum verbosity or with
a specified level (both in short and long option form):
  * --v=2
  * --verbose=2
  * --verbose (sets verbosity to 9)

Fixes abumq#823
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