Skip to content

Commit

Permalink
Fixed: regexp argument in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielunderwood committed Feb 26, 2022
1 parent ef0f66f commit e631b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ $ docker run -d \
-v $LOG_DIR:/logs \
-e URL=https://example.com/... \
--name log2http \
ghcr.io/danielunderwood/log2http -file /log/whatever.log -sourceName "$(hostname)/docker"
ghcr.io/danielunderwood/log2http -file /log/whatever.log -sourceName "$(hostname)/docker" -regexp "a|b"
```

### Binary (Coming Soon?)

```shell
$ log2http -file FILENAME -expression "^[Rr]egex$" -url https://discordapp.com/...
$ log2http -file FILENAME -regexp "^[Rr]egex$" -url https://discordapp.com/...
$ # Or supply URL via environment
$ export URL="https://discordapp.com/..."
$ log2http -file FILENAME -expression "^[Rr]egex$
$ log2http -file FILENAME -regexp "^[Rr]egex$
```
## Development
Expand Down

0 comments on commit e631b34

Please sign in to comment.