Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olovy committed Nov 20, 2024
1 parent 53980cb commit 8115c8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions whelktool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ Example of using a timestamp based report dir
Options
```
$ java -jar build/libs/whelktool.jar --help
11 actionable tasks: 11 up-to-date
usage: whelktool [options] <SCRIPT>
-a,--allow-loud Allow scripts to do loud
modifications.
-d,--dry-run Do not save any modifications.
-dv,--dataset-validation <MODE> [UNSAFE] Set read-only dataset
validation mode. Defaults to ON.
Possible values: ON/OFF/SKIP_AND_LOG
-h,--help Print this help message and exit.
-I,--skip-index Do not index any changes, only write
to storage.
Expand All @@ -42,10 +46,10 @@ usage: whelktool [options] <SCRIPT>
-T,--no-threads Do not use threads to parallellize
batch processing.
-t,--num-threads <N> Override default number of threads
(32).
(48).
-v,--validation <MODE> [UNSAFE] Set JSON-LD validation mode.
Defaults to ON. Possible values:
ON/OFF/LOG_ONLY
ON/OFF/SKIP_AND_LOG
```

* Use `--dry-run` to test your script without writing any changes.
Expand Down
2 changes: 1 addition & 1 deletion whelktool/src/main/groovy/whelk/datatool/WhelkTool.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ class WhelkTool {
cli.usage()
System.exit(1)
}

try {
script = new FileScript(scriptPath)

Expand Down

0 comments on commit 8115c8d

Please sign in to comment.