Skip to content

Commit

Permalink
docs: clarify short options hopefully coming (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Feb 4, 2022
1 parent f15dc66 commit ab6d1cc
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 ab6d1cc

Please sign in to comment.