Skip to content

Reject option tokens used as missing --target values #35

Closed

Description

@LunaStev

Problem

The build parser accepts any non-empty token after --target, including another option. For example, vex check --target --release --dry-run treats --release as the target triple and reaches wavec before reporting an unsupported target.

The CLI should diagnose a missing value at the Vex boundary.

Acceptance criteria

  • Reject a missing --target value when the next token is another recognized option or --.
  • Preserve --target=<triple> support.
  • Validate target syntax before dependency resolution or target-directory creation.
  • Report the exact option and expected value.
  • Add parser and process-level tests for every build-mode command.
  • Coordinate target availability validation with Validate targets through wavec capability queries #27.

Activity

  1. added
    bug
    build
    ui/ux
    good first issue
    on Sep 18, 2026
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

    bugbuildgood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions