Skip to content

Commit

Permalink
docs: Update generated CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cli-docs-updater committed Jan 14, 2025
1 parent 6de4565 commit 682fbc1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/content/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,18 +666,18 @@ code if a file would be reformatted.
The 'fmt' command can be run in several compatibility modes for consuming and outputting
different Rego versions:

* 'opa fmt':
* `opa fmt`:
* v1 Rego is formatted to v1
* 'rego.v1'/'future.keywords' imports are NOT removed
* 'rego.v1'/'future.keywords' imports are NOT added if missing
* `rego.v1`/`future.keywords` imports are NOT removed
* `rego.v1`/`future.keywords` imports are NOT added if missing
* v0 rego is rejected
* 'opa fmt --v0-compatible':
* `opa fmt --v0-compatible`:
* v0 Rego is formatted to v0
* v1 Rego is rejected
* 'opa fmt --v0-v1':
* `opa fmt --v0-v1`:
* v0 Rego is formatted to be compatible with v0 AND v1
* v1 Rego is rejected
* 'opa fmt --v0-v1 --v1-compatible':
* `opa fmt --v0-v1 --v1-compatible`:
* v1 Rego is formatted to be compatible with v0 AND v1
* v0 Rego is rejected

Expand Down

0 comments on commit 682fbc1

Please sign in to comment.