minimistjs / minimist

parse argument options
MIT License
515 stars 30 forks source link

[readme]: document string positionals #53

Closed shadowspawn closed 5 months ago

shadowspawn commented 8 months ago

Add description of disabling numeric conversion for non-option arguments. This is a stealth feature which some clients are using.

Fixes: #52

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.78%. Comparing base (74f90f1) to head (5c1864e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #53 +/- ## ======================================= Coverage 98.78% 98.78% ======================================= Files 1 1 Lines 165 165 Branches 70 70 ======================================= Hits 163 163 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

shadowspawn commented 8 months ago

Hmm... No test previously! There was a slightly weird existing test with string: '_' so I have added a number in there.

(Could make it a separate and more explicit numeric test if preferred.)