Update USAGE.md

This commit is contained in:
simon987 2020-05-08 19:08:46 -04:00 committed by GitHub
parent 4c540eae1c
commit 27509f97e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,14 +244,13 @@ sist2 index --print ./my_index/ | jq | less
### Web options
* `--es-url=<str>` Elasticsearch url.
* `--bind=<str>` Listen on this address.
* `--port=<str>` Listen on this port.
* `--auth=<str>` Basic auth in user:password format
### Web examples
**Single index**
```bash
sist2 web --auth admin:hunter2 --bind 0.0.0.0 --port 8888 my_index
sist2 web --auth admin:hunter2 --bind 0.0.0.0:8888 my_index
```
**Multiple indices**