forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
15
electron/node_modules/nopt/README.md
generated
vendored
15
electron/node_modules/nopt/README.md
generated
vendored
|
|
@ -141,14 +141,15 @@ config object and remove its invalid properties.
|
|||
|
||||
## Error Handling
|
||||
|
||||
By default, nopt outputs a warning to standard error when invalid values for
|
||||
known options are found. You can change this behavior by assigning a method
|
||||
to `nopt.invalidHandler`. This method will be called with
|
||||
the offending `nopt.invalidHandler(key, val, types)`.
|
||||
By default nopt logs debug messages if `DEBUG_NOPT` or `NOPT_DEBUG` are set in the environment.
|
||||
|
||||
If no `nopt.invalidHandler` is assigned, then it will console.error
|
||||
its whining. If it is assigned to boolean `false` then the warning is
|
||||
suppressed.
|
||||
You can assign the following methods to `nopt` for a more granular notification of invalid, unknown, and expanding options:
|
||||
|
||||
`nopt.invalidHandler(key, value, type, data)` - Called when a value is invalid for its option.
|
||||
`nopt.unknownHandler(key, next)` - Called when an option is found that has no configuration. In certain situations the next option on the command line will be parsed on its own instead of as part of the unknown option. In this case `next` will contain that option.
|
||||
`nopt.abbrevHandler(short, long)` - Called when an option is automatically translated via abbreviations.
|
||||
|
||||
You can also set any of these to `false` to disable the debugging messages that they generate.
|
||||
|
||||
## Abbreviations
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue