Tools usage is broken for conventional syntax
While reviewing doc changes for #133, I noticed that -Tcljwatson usage is somewhat broken.
For example, the README suggests:
```
clojure -Tclj-watson scan :deps-edn-path '"deps.edn"' :output '"stdout"'
# or:
clojure -Tclj-watson scan '{:deps-edn-path "deps.edn" :output "stdout"}'
```
Both these variants result in:
```
* ERROR: Invalid value for argument: Specified file not found
:p, :deps-edn-path <file> Path of deps.edn file to scan [*required*]
```
But these work fine:
```
clojure -Tclj-watson scan :deps-edn-path deps.edn :output stdout
# or:
clojure -Tclj-watson scan '{:deps-edn-path deps.edn :output stdout}'
```
I don't typically use clojure tools because I find the command-line syntax too finicky for me.
That said, I'm the one who broke this a while back, so I shall fix it.
The coercion I applied means we can specify `deps.edn` instead of the conventional syntax of `'"deps.edn"'`, but I also seem to have broken the conventional syntax.
0 条评论