Skip to content

Issue when using - as stdin and stdout #213

Description

@carstencodes

Hi,

thanks for your nice work.

I have an issue when I declare my arguments as follows:

-f --format (output format)
-o --output (output file, - is supported for using stdout)
input-file (input file, - is supported for stdin)

But when I run my app as follows,

app -f json -o - input.file

then - is used as input-file and input.file is bound to -o.

This is rather unexpected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Customer ReportedBugs reported by customersbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions