davetron5000 / optparse-plus

Start your command line scripts off right in Ruby
http://davetron5000.github.com/optparse-plus
Apache License 2.0
520 stars 54 forks source link

Main might should not include CLILogging #24

Closed davetron5000 closed 12 years ago

davetron5000 commented 12 years ago

Just encountered a case where the methods CLILogging places into Object cause problems. Specifically, hoptoad's use of Builder calls error, which is defined already and thus the entire thing dies. Ugh.

There's a couple ways to handle this. Primarily, Main should no longer depend on CLILogging and shouldn't include it by default.

Further, CLILogging might need to have its interface changed, e.g. to _error or Error or something. I dunno.