Skip to content

v8.1.0 mod - New Options

Latest

Choose a tag to compare

@sdneon sdneon released this 03 Apr 05:07
· 1 commit to main since this release

Add extra options. Passed as last parameter to nopt.

  • ignoreUnknowns: DON'T absorb unknowns, leave them in remain.
  • terminateOnUnknown: once encounter an unknown, treat like '--' and leave the rest in remain. Setting this true also sets ignoreUnknowns to true.
  • strictShortHands: only use declared shorthands, DON'T accept whole gamut of partial spellings!