Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

laxPlacement doesn't allow positional in the middle of two flags #85

@eight04

Description

@eight04

Currently, laxPlacement option allows us to place flags before or after the positional arguments.

usage: test [-abc] <files>...

These are allowed:

test -a -b file1 file2
test file1 file2 -a -b

But this will fail:

test -a file1 file2 -b
test: unexpected option -b
usage: test [-abc] <files>...
See test -h/--help for more information

I think the third one is also valid. Can we support it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions