Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

What is the correct way to parse an argument with value - #574

Copy link
Copy link
@tevoinea

Description

@tevoinea
Issue body actions

I have a program that I would like to execute like so:

./myprogram --someArg 2 --thisFails - --anotherArg 3

Where the value of thisFails should be set to -

I've also tried: "-" to no avail

The error I'm getting is:

ERROR(S):
  Option 'thisFails' has no value.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.