Pita/etherpad-lite — pull request #455 by jhollinger (2012-02-16 05:29:20+00:00)
Title: Allow location of settings.json to be overridden through cli arg

Resolves issue #195, allowing the location of the settings file to passed as a parameter. The following should all work:

bin/run.sh --settings settings2.json
bin/run.sh --settings /abs/path/to/settings.json
node server.js --settings my_settings.json
...

Unfortunately this adds a dependency (optimist) that converts cli args into a hash object. However that should make adding other options quite simple in the future.