Mercurial > nagslang
changeset 14:17b233a54651
Docstring
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 01 Sep 2013 14:19:31 +0200 |
parents | b410c7153d52 |
children | fe1426d09074 |
files | nagslang/options.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nagslang/options.py Sun Sep 01 14:17:42 2013 +0200 +++ b/nagslang/options.py Sun Sep 01 14:19:31 2013 +0200 @@ -14,6 +14,12 @@ def parse_args(args): + ''' + Parse arguments and store them in the options dictionary. + + Note: If you add arguments, you need to add an appropriate default to the + DEFAULTS dict. + ''' options.update(DEFAULTS) options.debug = 'DEBUG' in os.environ