Index: Add option to remove /client help
fixes #7 Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
11
readme.md
11
readme.md
@@ -55,6 +55,11 @@ PASTELINK="$URL$RESPONSE"
|
||||
echo "$PASTELINK.$EXTENSION"
|
||||
```
|
||||
|
||||
You have the option to remove the `/client` description / help in the
|
||||
landing page. To show the `/client` description, run the `bin` binary
|
||||
with either `BIN_CLIENT_DESC` env variable or a `-c` flag. More on
|
||||
arguments later
|
||||
|
||||
#### Usage
|
||||
|
||||
It just works.
|
||||
@@ -110,6 +115,7 @@ services:
|
||||
environment:
|
||||
- BIN_PORT=6163 # Defaults to 6162
|
||||
- BIN_LIMITS={form="16 MiB"}
|
||||
- BIN_CLIENT_DESC=placeholder
|
||||
volumes:
|
||||
- ./upload:/upload # upload folder will have your pastes
|
||||
```
|
||||
@@ -137,11 +143,14 @@ USAGE:
|
||||
|
||||
OPTIONS:
|
||||
-a, --address <ADDRESS>
|
||||
Address on which the webserver runs [default: 0.0.0.0]
|
||||
Address on which the webserver runs [default: 127.0.0.1]
|
||||
|
||||
-b, --binary-upload-limit <BINARY_UPLOAD_LIMIT>
|
||||
Binary uploads file size limit (in MiB) [default: 100]
|
||||
|
||||
-c, --client-desc
|
||||
Include client description [env: CLIENT_DESC=]
|
||||
|
||||
-h, --help
|
||||
Print help information
|
||||
|
||||
|
||||
Reference in New Issue
Block a user