Skip to content

Commit

Permalink
Merge branch 'main' into feature/basic-short
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Feb 4, 2022
2 parents 9e99b0f + ab6d1cc commit 40e1b38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ const { flags, values, positionals } = parseArgs(argv, options);
- Does the API specify whether a `--` was present/relevant?
- no
- Is `-foo` the same as `--foo`?
- yes <-- ! kind of a blocker for shortopts !
- Recommend: "No, -foo is shortopts form of --f --o --o" (assuming none are defined, or withValues)
- no, `-foo` is a short option or options (WIP: https://github.com/pkgjs/parseargs/issues/2)
- Is `---foo` the same as `--foo`?
- no
- the first flag would be parsed as `'-foo'`
Expand Down

0 comments on commit 40e1b38

Please sign in to comment.