Skip to content

Commit

Permalink
Fix examples in README
Browse files Browse the repository at this point in the history
I notice the values sent in the command line must be valid Clojure strings and require quotes. Otherwise, we get `Unreadable arg: ...`
  • Loading branch information
wilkerlucio committed May 18, 2022
1 parent 5a66abe commit 10ce3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cat data.edn | clojure -X:viscous :file -

Read edn from filename:
```sh
clojure -X:viscous :file data.edn
clojure -X:viscous :file '"data.edn"'
```

Read json from stdin:
Expand All @@ -80,7 +80,7 @@ cat data.json | clojure -X:viscous :json-file -

Read json from filename:
```sh
clojure -X:viscous :json-file data.edn
clojure -X:viscous :json-file '"data.edn"'
```

## Status
Expand Down

0 comments on commit 10ce3c3

Please sign in to comment.