From ec0fa80dd511349b53339786d40d3a3f82c04c8d Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Fri, 27 Mar 2026 11:48:25 +0100 Subject: [PATCH] Update command line usage instructions in README for clarity --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 47f8720..4d93d00 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,19 @@ It displays a simple HTML or plain-text page with the client's IP address and an ### Command Line -To run the server from the command line, use the following command: +To run the server from the command line: ```bash -chmod +x ok-server.py -./ok-server.py +python3 ok-server.py +python3 ok-server.py --look basic +python3 ok-server.py --bind 127.0.0.1 --port 8080 --look bootstrap +``` + +`--look` accepts `basic`, `nice`, or `bootstrap`. +You can override the look per request with the `look` query parameter, for example: + +```bash +curl -i "http://localhost:8000/?look=basic" ``` ### Docker