From 13bec40ac097dcc1e7241eab38906eae5ae9f51b Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Sun, 29 Sep 2019 13:23:55 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20use=20dashes=20in=20CLI?= =?UTF-8?q?=20args=20instead=20of=20underscore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: renamed CLI args: keep_alive -> keep-alive, listen_addresses -> listen-addresses, pool_size -> pool-size Closes: #21 --- README.md | 6 +++--- src/cli.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1ddc6dff..a5589b78 100755 --- a/README.md +++ b/README.md @@ -197,9 +197,9 @@ Options: -h --help Show this screen. -v --version Show version. --config= Path to config file. - --keep_alive= Connection keep alive timeout [default: 75]. - --listen_addresses= The socket address to bind [default: 0.0.0.0:3000]. - --pool_size= Maximum connections pool size [default: 20]. + --keep-alive= Connection keep alive timeout [default: 75]. + --listen-addresses= The socket address to bind [default: 0.0.0.0:3000]. + --pool-size= Maximum connections pool size [default: 20]. --watch Scan for new sources on sources list requests --workers= Number of web server workers. ``` diff --git a/src/cli.rs b/src/cli.rs index ed0a2612..b2093391 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -10,9 +10,9 @@ Options: -h --help Show this screen. -v --version Show version. --config= Path to config file. - --keep_alive= Connection keep alive timeout [default: 75]. - --listen_addresses= The socket address to bind [default: 0.0.0.0:3000]. - --pool_size= Maximum connections pool size [default: 20]. + --keep-alive= Connection keep alive timeout [default: 75]. + --listen-addresses= The socket address to bind [default: 0.0.0.0:3000]. + --pool-size= Maximum connections pool size [default: 20]. --watch Scan for new sources on sources list requests --workers= Number of web server workers. ";