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

cmd/exec: remove "pretty" format #6923

Merged
merged 1 commit into from
Aug 13, 2024

Commits on Aug 13, 2024

  1. cmd/exec: remove "pretty" format

    This was never supported, and the flag is thus confusing. Since the
    only supported format is "json" (the default), the flag is redundant
    now. However, I've kept it so if someone uses `opa exec --format=json`
    somewhere, their calls won't become invalid.
    
    If someone had been using `opa exec --format=pretty`, they will now
    see an error, but I think that's less confusing: pretty formatting
    is just not supported for 'opa exec'.
    
    Signed-off-by: Stephan Renatus <[email protected]>
    srenatus committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8bba35d View commit details
    Browse the repository at this point in the history