Skip to content

Commit

Permalink
Adjust documentation for default option #333
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 25, 2024
1 parent d84cc94 commit 18b6044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ Parameters:

Options:

- `__default`: Default value to use for unknown values. (Default: Old value)
- `default`: Default value to use for unknown values. (Default: Old value)
- `delete`: Whether to delete unknown values. (Default: `false`)
- `print_unknown`: Whether to print unknown values. (Default: `false`)

Expand Down Expand Up @@ -748,7 +748,7 @@ put_rdfmap("path/to/file", "rdf-map", target: "<rdfProperty>")
lookup("path.to.field", "rdf-map")

# with default value
lookup("path.to.field", "map-name", __default: "NA")
lookup("path.to.field", "map-name", default: "NA")

# with printing unknown values to a file
lookup("path.to.field", "map-name", print_unknown: "true", destination: "unknown.txt")
Expand Down

0 comments on commit 18b6044

Please sign in to comment.