Closed oremj closed 11 years ago
@oremj Sorry it took so long to get to this. I think it might be better to use the .demand()
feature of optimist. More info on that here.
What do you think?
@jirwin .demand()
just assures that the argument is passed. This patch bails gracefully if the config file is passed, but does not exist on the fs.
@oremj You're totally right. Thats what I get for reading code late on a Friday. Thanks for the patch.
Thanks @jirwin !
Nice.
Catch and handle the exception which occurs if -c does not exist.