You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Changed the data flag description to specify that it can take policy
or data files
- Suffixed some descriptions with "This flag can be repeated." where
applicable
Fixes: #2586
Signed-off-by: Alan Silva <alansq16@gmail.com>
Expected Behavior
Running
opa eval --help
should show similar descriptions to the descriptions show for those same flags in https://www.openpolicyagent.org/docs/latest/#2-try-opa-evalActual Behavior
The opa cli shows:
for the data flag.
The online docs show:
Notice how the CLI description makes no mention that the policy needs to be loaded as data.
This can be confusing to newcomers to OPA (like me).
Steps to Reproduce the Problem
Self-explanatory.
Additional Info
Submitting a PR for this in a few minutes...
The text was updated successfully, but these errors were encountered: