Skip to content

Commit 2460c92

Browse files
Apply suggestions from code review #333
Review by @blackwinter Co-authored-by: Jens Wille <[email protected]>
1 parent 1ad8131 commit 2460c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ Parameters:
706706

707707
Options:
708708

709-
- `"default"`: Default value to use for unknown values. The `"default"`-key needs to be in quotation marks since it is a reserved word in Java. (Default: Old value)
709+
- `default`: Default value to use for unknown values. The option needs to be written in quotation marks because it is a reserved word in Java. (Default: Old value)
710710
- `delete`: Whether to delete unknown values. (Default: `false`)
711711
- `print_unknown`: Whether to print unknown values. (Default: `false`)
712712

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

750750
# with default value
751-
lookup("path.to.field", "map-name", default: "NA")
751+
lookup("path.to.field", "map-name", "default": "NA")
752752

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

0 commit comments

Comments
 (0)