diff --git a/docs/README.md b/docs/README.md index b43a473..567e4cc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,10 +5,15 @@ Logo

- + + +
+GitHub Clones + +


@@ -30,4 +35,5 @@ With no precedents websocket performance and an really fast HTTP server that can - [GraphiQL](graphiql.md) - [WebSockets and Backpressure](websockets-backpressure.md) - [SSL](ssl.md) +- [CLI Reference](cli.md) - [API Reference](api.md) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 8575854..5343c67 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -13,4 +13,5 @@ - [GraphiQL](graphiql.md) - [WebSockets and Backpressure](websockets-backpressure.md) - [SSL](ssl.md) +- [CLI Reference](cli.md) - [API Reference](api.md) diff --git a/src/socketify/cli.py b/src/socketify/cli.py index d524b18..289abc8 100644 --- a/src/socketify/cli.py +++ b/src/socketify/cli.py @@ -108,7 +108,7 @@ def execute(args): if selected_option: options[selected_option] = option selected_option = None - elif option.startswith('--'): + elif option.startswith('--') or option.startswith('-'): if selected_option is None: selected_option = option else: # --factory, --reload etc