Skip to content

Commit

Permalink
fix: 🐛 use dashes in CLI args instead of underscore
Browse files Browse the repository at this point in the history
BREAKING CHANGE: renamed CLI args: keep_alive -> keep-alive, listen_addresses ->
listen-addresses, pool_size -> pool-size

Closes: #21
  • Loading branch information
stepankuzmin committed Sep 29, 2019
1 parent 58a2868 commit 13bec40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ Options:
-h --help Show this screen.
-v --version Show version.
--config=<path> Path to config file.
--keep_alive=<n> Connection keep alive timeout [default: 75].
--listen_addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool_size=<n> Maximum connections pool size [default: 20].
--keep-alive=<n> Connection keep alive timeout [default: 75].
--listen-addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool-size=<n> Maximum connections pool size [default: 20].
--watch Scan for new sources on sources list requests
--workers=<n> Number of web server workers.
```
Expand Down
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Options:
-h --help Show this screen.
-v --version Show version.
--config=<path> Path to config file.
--keep_alive=<n> Connection keep alive timeout [default: 75].
--listen_addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool_size=<n> Maximum connections pool size [default: 20].
--keep-alive=<n> Connection keep alive timeout [default: 75].
--listen-addresses=<n> The socket address to bind [default: 0.0.0.0:3000].
--pool-size=<n> Maximum connections pool size [default: 20].
--watch Scan for new sources on sources list requests
--workers=<n> Number of web server workers.
";
Expand Down

0 comments on commit 13bec40

Please sign in to comment.