fix: 🐛 use dashes in CLI args instead of underscore

BREAKING CHANGE: renamed CLI args: keep_alive -> keep-alive, listen_addresses ->
listen-addresses, pool_size -> pool-size

Closes: #21
This commit is contained in:
Stepan Kuzmin 2019-09-29 13:23:55 +03:00
parent 58a2868849
commit 13bec40ac0
No known key found for this signature in database
GPG Key ID: 41335DA6EE45C2B6
2 changed files with 6 additions and 6 deletions

View File

@ -197,9 +197,9 @@ Options:
-h --help Show this screen. -h --help Show this screen.
-v --version Show version. -v --version Show version.
--config=<path> Path to config file. --config=<path> Path to config file.
--keep_alive=<n> Connection keep alive timeout [default: 75]. --keep-alive=<n> Connection keep alive timeout [default: 75].
--listen_addresses=<n> The socket address to bind [default: 0.0.0.0:3000]. --listen-addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool_size=<n> Maximum connections pool size [default: 20]. --pool-size=<n> Maximum connections pool size [default: 20].
--watch Scan for new sources on sources list requests --watch Scan for new sources on sources list requests
--workers=<n> Number of web server workers. --workers=<n> Number of web server workers.
``` ```

View File

@ -10,9 +10,9 @@ Options:
-h --help Show this screen. -h --help Show this screen.
-v --version Show version. -v --version Show version.
--config=<path> Path to config file. --config=<path> Path to config file.
--keep_alive=<n> Connection keep alive timeout [default: 75]. --keep-alive=<n> Connection keep alive timeout [default: 75].
--listen_addresses=<n> The socket address to bind [default: 0.0.0.0:3000]. --listen-addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool_size=<n> Maximum connections pool size [default: 20]. --pool-size=<n> Maximum connections pool size [default: 20].
--watch Scan for new sources on sources list requests --watch Scan for new sources on sources list requests
--workers=<n> Number of web server workers. --workers=<n> Number of web server workers.
"; ";