Add Example-section to showcase common calls

This commit is contained in:
Thor77 2016-10-30 21:07:00 +01:00
parent 96ffef1b5a
commit 419164f332
1 changed files with 7 additions and 0 deletions

View File

@ -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]