Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Tools by

Running something like clojure -v today with Clojure CLI version 1.10.3.822 will output

WARNING: When invoking clojure.main, use -M
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
-v (No such file or directory)

Full report at:
/var/folders/xg/xr5m785j5cb9lm9cjr3qc7480000gn/T/clojure-5319990582198082614.edn

Is it possible to use -v as an alias for clojure --version?

1 Answer

+3 votes
by

No, I don't want to get into taking up more of the short arg space for this. Also, the current state mimics the java command (which does not support -v).

by
(as always) I reserve the right to change my mind in the future. :)
...