diff --git a/README.rst b/README.rst index 6f874b2..249dd5f 100644 --- a/README.rst +++ b/README.rst @@ -200,25 +200,21 @@ Command Line Interface $ nanohttp -h - usage: nanohttp [-h] [-c CONFIG_FILE] [-b {HOST:}PORT] [-d DIRECTORY] [-w] - [-V] + usage: nanohttp [-h] [-c CONFIG_FILE] [-b {HOST:}PORT] [-d DIRECTORY] [-V] [MODULE{.py}{:CLASS}] positional arguments: MODULE{.py}{:CLASS} The python module and controller class to launch. - default: `nanohttp:Demo`, And the default value for - `:CLASS` is `:Root` if omitted. + default is python built-in's : `demo_app`, And the + default value for `:CLASS` is `:Root` if omitted. optional arguments: -h, --help show this help message and exit -c CONFIG_FILE, --config-file CONFIG_FILE - Default: nanohttp.yaml + This option may be passed multiple times. -b {HOST:}PORT, --bind {HOST:}PORT Bind Address. default: 8080 -d DIRECTORY, --directory DIRECTORY The path to search for the python module, which contains the controller class. default is: `.` - -w, --watch If given, tries to watch the `--directory` and reload the app - on changes. -V, --version Show the version. - diff --git a/nanohttp.py b/nanohttp.py index 103f611..9a3621a 100644 --- a/nanohttp.py +++ b/nanohttp.py @@ -16,7 +16,7 @@ import pymlconf -__version__ = '0.1.0-dev.15' +__version__ = '0.1.0-dev.16' DEFAULT_CONFIG_FILE = 'nanohttp.yaml' DEFAULT_ADDRESS = '8080'