Closed drewverlee closed 2 years ago
I think the problem here is that you're passing a CLI of -base
instead of --base
(note the two hyphens). If I run this with --base
I get the expected result:
❯ ./examples/toycalc-nested.clj --base 16 subc sub --a 16 --b 3
WARNING: Implicit use of clojure.main with options is deprecated, use -M
d
version
0.4.3
platform
[ Please specify which platform you are using clj-matic on, like JVM or JS and which version ]
JVM
[ Please provide a short and to the point description of the problem ]
examples/toycalc-nested.clj doesn't work as documented.
[ Please provide a minimal working reproduction of the problem ]
[ What is the behavior you expected to see from clj-matic? Please provide a minimal working example ]
from the docs the output should be
d
[ What is the actual behavior of clj-matic? ]
Actual behavior is an error for unknown options.