You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If `--` signals the end, is `--` included as a positional? is `program -- foo` the same as `program foo`? Are both `{positionals:['foo']}`, or is the first one `{positionals:['--', 'foo']}`?
195
195
- Does the API specify whether a `--` was present/relevant?
196
196
- no
197
-
- Is `-foo` the same as `--foo`?
198
-
- no, `-foo` is a short option or options (WIP: https://github.com/pkgjs/parseargs/issues/2)
197
+
- Is `-bar` the same as `--bar`?
198
+
- no, `-bar` is a short option or options, with expansion logic that follows the
199
+
[Utility Syntax Guidelines in POSIX.1-2017](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html). `-bar` expands to `-b`, `-a`, `-r`.
0 commit comments