about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 17:11:50 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 17:11:50 +0100
commit0e74abc814e7728b8e466b231d442e0f1f31be59 (patch)
tree877571e2d90b09325473b093a637e62564f19726
parenta38711960312ab1a66761a7947102acea964473d (diff)
usage HEAD master
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
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
+...
+```