davetron5000 / optparse-plus

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

defaults_from_config_file should allow using configs outside the user's home dir #87

Closed johnl closed 9 years ago

johnl commented 9 years ago

I have a program that I want to read a global config file, from /etc/program.conf but defaults_from_config_file forces only files relative to the current user's home directory.

It should allow the use of absolute filenames.

davetron5000 commented 9 years ago

Yup, seems reasonable.

davetron5000 commented 9 years ago

Fixed by @johnl in #88