Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.3.0] Improve error on invalid -//foo and -@repo//foo options #18516

Merged
merged 2 commits into from
Jun 1, 2023

Commits on May 26, 2023

  1. Improve error on invalid -//foo and -@repo//foo options

    `-//foo` and `-@repo//foo` are always invalid Bazel options, but are usually meant to be either negative target patterns (which have to come after the `--` separator) or Starlark options (which always start with `--`).
    
    With this commit, the error shown to the user mentions these two situations and how to fix the issue in each case.
    
    Closes bazelbuild#16563.
    
    PiperOrigin-RevId: 486920951
    Change-Id: I9390d3859aa62c2b67eac05cb96a06209a9b7c36
    fmeum authored and iancha1992 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    840231b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    03c465a View commit details
    Browse the repository at this point in the history