On Fri, Nov 13, 2009 at 5:16 PM, Mike Hogye <stacktra...@gmail.com> wrote:
> Using with-command-line from clojure.contrib.command-line, if the list
> of command-line args is empty or nil, the usage message is printed
> (and the nested code is not run), even if all the options have default
> values.
It's a feature!

http://github.com/richhickey/clojure-contrib/commit/72a13bf2d0988100f8a8526b8919acd262f5b204

Though now that you mention it, it seems a bit ill-considered.

I suppose if a client wants this behavior, they can do this
--help default themselves.  Doing the inverse with this patch in
place is a good deal harder.  I'll back it out.

--Chouser

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to