tests/test_opts.out
author Alexander Solovyov <piranha@piranha.org.ua>
Sun, 19 Sep 2010 20:17:49 +0300
changeset 121 836bb50a8660
parent 101 7507884b8dff
permissions -rw-r--r--
Added tag 0.9.11 for changeset bf6908d12aae

test_opts.py [-l HOST] DIR

Command with option declaration as keyword arguments

    Otherwise it's the same as previous command

options:

 -l --listen     ip to listen on (default: localhost)
 -p --port       port to listen on (default: 8000)
 -d --daemonize  daemonize process
    --pid-file   name of file to write process ID to
 -t --test       testing help for a function (default: test)
 -h --help       show help
test_opts.py [-l HOST] DIR

Command with option declaration as keyword arguments

    Otherwise it's the same as previous command

options:

 -l --listen     ip to listen on (default: localhost)
 -p --port       port to listen on (default: 8000)
 -d --daemonize  daemonize process
    --pid-file   name of file to write process ID to
 -t --test       testing help for a function (default: test)
 -h --help       show help
{'pid_file': '', 'daemonize': False, 'test': 'test', 'dirname': '.', 'port': 8000, 'listen': 'localhost'}