Skip to content

Positional arguments fail with negative numbers #191

Description

@SpecificProtagonist

Because of

if next_arg.starts_with('-') && !options_ended {

positional arguments that start with a - get misinterpreted as optionals. This prevents e.g. taking numbers or filenames that start with a dash as required arguments, despite being permitted by Fuchsia's command-line tools rubric.

No activity

Activity on this issue will appear here.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions