aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2023-09-14 13:54:49 -0500
committerSlack Coder <slackcoder@server.ky>2023-09-14 15:52:56 -0500
commit33af09195b60fd7364e2190934717a9345ce6cad (patch)
tree947017bc407ff86040f0c4c162268089e8c8e6aa /README.md
parente4d26432d4ef366c9e4b969d4fdb8d4728b545b3 (diff)
downloadsend-over-http-33af09195b60fd7364e2190934717a9345ce6cad.tar.xz
Allow user to set network address
Give the user the ability to set which network address to listen on and the network type (IP 4 or 6 etc.). Randomly choose an available port to avoid conflicting with other services listening on a predefined one.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index e48ac52..0e03ba6 100644
--- a/README.md
+++ b/README.md
@@ -19,10 +19,16 @@ Inspired by the android app [Share Via HTTP](https://github.com/marcosdiez/share
```
send-over-http --help
-# Usage of send-over-http [target]
+# Usage send-over-http <options> [target]
#
-# target - file or directory to share (default: .)
+# target: file or directory to share (default: .)
#
+# Options:
+#
+# -address string
+# network address to accept connections (127.0.0.1:0)
+# -net string
+# network type to listen on (tcp, tcp4, tcp6) (default "tcp")
```
## Build Requirements