From 0e74abc814e7728b8e466b231d442e0f1f31be59 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 17:11:50 +0100 Subject: usage --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3a5964..5ba0259 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ # redir -A webserver with the soul purpose of redirecting somewhere. \ No newline at end of file +A webserver with the soul purpose of redirecting somewhere. + +## Usage + +Define the port the webserver should listen on using the `-p` flag and the +url where the user sould be redirected to using the `-url` flag: + +```bash +go run main.go -p 8087 -url https://emile.space +... +``` -- cgit 1.4.1