-
Notifications
You must be signed in to change notification settings - Fork 254
Unable to call argv.showHelp to show argv usage #275
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
Comments
You can access the help via |
Could it be possible for nconf to accept an optional |
@Telokis sounds like that could be a good enhancement. Why not take a look at the source and submit a PR? |
Is it still the case that there's no way to auto-generate some usage info based on the nconf data passed in (and potential defaults)? I found it a bit confusing on a tool using this that --help only offers two options when it supports lots more. |
I am trying to call argv.showHelp in order to display which arguments are available to the user.
However, if I do
nconf.argv().showHelp();
it crashes.I tried reading the source code and I really expect this to work but it won't.
The text was updated successfully, but these errors were encountered: