Mark fields as bash

This commit is contained in:
asonix 2020-03-19 22:26:40 -05:00
parent d6e2c47d3f
commit 27110b7301

View file

@ -3,20 +3,20 @@ _A simple and efficient activitypub relay_
### USAGE ### USAGE
To simply run the server, the command is as follows To simply run the server, the command is as follows
``` ```bash
$ ./relay $ ./relay
``` ```
To add domains to the blocklist, use the `-b` flag and pass a list of domains To add domains to the blocklist, use the `-b` flag and pass a list of domains
``` ```bash
$ ./relay -b asonix.dog blimps.xyz $ ./relay -b asonix.dog blimps.xyz
``` ```
To remove domains from the blocklist, simply pass the `-u` flag along with `-b` To remove domains from the blocklist, simply pass the `-u` flag along with `-b`
``` ```bash
$ ./relay -ub asonix.dog blimps.xyz $ ./relay -ub asonix.dog blimps.xyz
``` ```
The same rules apply for whitelisting domains, although domains are whitelisted with the `-w` flag The same rules apply for whitelisting domains, although domains are whitelisted with the `-w` flag
``` ```bash
$ ./relay -w asonix.dog blimps.xyz $ ./relay -w asonix.dog blimps.xyz
$ ./relay -uw asonix.dog blimps.xyz $ ./relay -uw asonix.dog blimps.xyz
``` ```