See: https://github.com/pkgjs/parseargs/pull/1#discussion_r615042345 See also near bottom of FAQs, design doc says: >Is ---foo the same as --foo? >- no >- the first flag would be parsed as '-foo' >- the second flag would be parsed as 'foo' https://github.com/pkgjs/parseargs#faqs