Skip to content

Commit

Permalink
Update README with new usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aldahick committed Sep 23, 2023
1 parent 38639b4 commit 1132106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ filters a big file with JSON lines by a key/value and writes to another file
usage:

```text
Usage: jsonfilter [OPTIONS] --archive <ARCHIVE> --input <INPUT> --output <OUTPUT> --key <KEY> --filter <FILTER>
Usage: jsonfilter [OPTIONS] --input <INPUT> --output <OUTPUT> --key <KEY> --filter <FILTER>
Options:
-a, --archive <ARCHIVE> Optionally provide a zst archive to unpack. If provided, input is the path within the archive
-a, --archive <ARCHIVE> Optionally provide a zst archive to unpack. If archive is provided, it is extracted to the input path [default: ]
-i, --input <INPUT> Input file - must be newline-separated json
-o, --output <OUTPUT> Output file - newline-separated json will be written to this path
-k, --key <KEY> JSON key to filter on
Expand Down

0 comments on commit 1132106

Please sign in to comment.