ianmcorvidae/nginx-upstream-manager — pull request #2 by ocharles (2013-07-05 13:04:29+00:00)
Title: Rewrite to use argparse

This commit mostly rewrites nginx-upstream-manager to use argparse
instead of optparse. This gives us the ability to have more centralised
command line parsing, better usages for free, and stricter validation.

I have also changed a few defaults from '__file__ + path' to use
either command line overrides, or be relative to the config file itself.
This is because I would like nginx-upstream-manager to be installed,
rather than a script that just lies around.