Skip to content

Commit 40e1b38

Browse files
authored
Merge branch 'main' into feature/basic-short
2 parents 9e99b0f + ab6d1cc commit 40e1b38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@ const { flags, values, positionals } = parseArgs(argv, options);
195195
- Does the API specify whether a `--` was present/relevant?
196196
- no
197197
- Is `-foo` the same as `--foo`?
198-
- yes <-- ! kind of a blocker for shortopts !
199-
- Recommend: "No, -foo is shortopts form of --f --o --o" (assuming none are defined, or withValues)
198+
- no, `-foo` is a short option or options (WIP: https://github.com/pkgjs/parseargs/issues/2)
200199
- Is `---foo` the same as `--foo`?
201200
- no
202201
- the first flag would be parsed as `'-foo'`

0 commit comments

Comments
 (0)