[Checkins] Re: SVN: zc.buildout/trunk/src/zc/buildout/buildout.py Fix #149352 : setup sub-command without any argument error

Fred Drake fdrake at gmail.com
Fri Oct 5 10:44:13 EDT 2007


On 10/5/07, Philipp von Weitershausen <philipp at weitershausen.de> wrote:
> We can actually do better in this error message: *What* exactly is
> expected for the arguments? Don't tell the user what s/he did wrong
> without telling how to do it correctly!

I'd suggest that the message refer to using the --help option after
the directory.  Instead of

  setup command expects one or more arguments.

perhaps something like:

  setup command expects one or more arguments: setup <directory> --help

> Also, where are the tests?

Definitely needs tests!


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Checkins mailing list