From d67495a586ce42eb0c4e866dbdff9b418cb9ae21 Mon Sep 17 00:00:00 2001 From: Raghd Hamzeh Date: Tue, 2 Apr 2024 14:59:17 -0400 Subject: [PATCH] chore(docs): update read documentation in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1d34fc..af84625 100644 --- a/README.md +++ b/README.md @@ -752,7 +752,7 @@ fga tuple **read** [--user=] [--relation=] [--object=] * `--relation`: Relation * `--object`: Object * `--max-pages`: Max number of pages to get. (default 20) -* `--simple-output`: Output simpler JSON version. (It can be used by write and delete commands) +* `--output-format`: Can be `csv`, `yaml`, `json` or `simple-json`. Use `simple-json` for a simpler json format that can be piped to the write and delete commands ###### Example `fga tuple read --store-id=01H0H015178Y2V4CX10C2KGHF4 --user user:anne --relation can_view --object document:roadmap` @@ -772,7 +772,7 @@ fga tuple **read** [--user=] [--relation=] [--object=] ] } ``` -###### Response (--simple-output) +###### Response (--output-format=simple-json) ```json5 [ {