[Ecls-list] --help

Greg Pfeil pfeil at amazon.com
Tue Jan 24 11:30:02 UTC 2006


I noticed a little oddity in the behavior of the usage message on the ECL
command-line.

When I run:

    $ ecl --help

The rc file is loaded before printing the message. However, when I give an
unknown option, like

    $ ecl -h

The message is printed without loading the rc file. In a case where there's
an error in an rc file, this could cause a problem, as --help never gets to
the help message, while -h does.

I would recommend that the rc file is never loaded when the help option is
passed.





More information about the ecl-devel mailing list