Add Example-section to showcase common calls
This commit is contained in:
parent
96ffef1b5a
commit
419164f332
|
@ -12,6 +12,13 @@ A simple Teamspeak stat-generator - based on server-logs
|
||||||
- Run the script `tsstats [-h]`
|
- Run the script `tsstats [-h]`
|
||||||
- Optionally create a config-file (see [Configuration](https://github.com/Thor77/TeamspeakStats#configuration))
|
- Optionally create a config-file (see [Configuration](https://github.com/Thor77/TeamspeakStats#configuration))
|
||||||
|
|
||||||
|
# Example
|
||||||
|
```
|
||||||
|
tsstats -l /var/log/teamspeak3-server/ts3server*.log -o /var/www/tsstats.html
|
||||||
|
```
|
||||||
|
|
||||||
|
Parse logs matching `ts3server*.log` in `/var/log/teamspeak3-server` and write output to `/var/www/tsstats.html`
|
||||||
|
|
||||||
# CMD-Arguments
|
# CMD-Arguments
|
||||||
```
|
```
|
||||||
usage: tsstats [-h] [-c CONFIG] [--idmap IDMAP] [-l LOG] [-o OUTPUT] [-d]
|
usage: tsstats [-h] [-c CONFIG] [--idmap IDMAP] [-l LOG] [-o OUTPUT] [-d]
|
||||||
|
|
Loading…
Reference in New Issue