Skip to content

Commit

Permalink
Merge pull request #1166 from enjoy-binbin/update-prompt
Browse files Browse the repository at this point in the history
Update prompt to be consistent with other command examples
  • Loading branch information
LiorKogan committed Dec 22, 2023
2 parents 425b221 + 6cf7bca commit bc47bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/commands/json.arrindex.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ redis> JSON.ARRAPPEND item:1 $.colors '"blue"'
Return the new length of the `colors` array.

{{< highlight bash >}}
JSON.GET item:1
redis> JSON.GET item:1
"{\"name\":\"Noise-cancelling Bluetooth headphones\",\"description\":\"Wireless Bluetooth headphones with noise-cancelling technology\",\"connection\":{\"wireless\":true,\"type\":\"Bluetooth\"},\"price\":99.98,\"stock\":25,\"colors\":[\"black\",\"silver\",\"blue\"]}"
{{< / highlight >}}

Expand Down
2 changes: 1 addition & 1 deletion docs/commands/json.arrinsert.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ redis> JSON.ARRAPPEND item:1 $.colors '"blue"'
Return the new length of the `colors` array.

{{< highlight bash >}}
JSON.GET item:1
redis> JSON.GET item:1
"{\"name\":\"Noise-cancelling Bluetooth headphones\",\"description\":\"Wireless Bluetooth headphones with noise-cancelling technology\",\"connection\":{\"wireless\":true,\"type\":\"Bluetooth\"},\"price\":99.98,\"stock\":25,\"colors\":[\"black\",\"silver\",\"blue\"]}"
{{< / highlight >}}

Expand Down

0 comments on commit bc47bf1

Please sign in to comment.