Skip to content

Commit

Permalink
clarification for README.md
Browse files Browse the repository at this point in the history
points out that 'invalid' in this context refers to an invalid
_value_ for a _known_ option - as opposed to an _unknown option_.

PR-URL: #39
  • Loading branch information
mklement0 authored and zkat committed Sep 10, 2015
1 parent 72ab592 commit 7eab808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ config object and remove its invalid properties.
## Error Handling
By default, nopt outputs a warning to standard error when invalid
options are found. You can change this behavior by assigning a method
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)`.
Expand Down

0 comments on commit 7eab808

Please sign in to comment.