aboutsummaryrefslogtreecommitdiff
path: root/examples/9-tvtojson/exampletvtojson.go
diff options
context:
space:
mode:
authorCatalinStratu <catalinstratu45@gmail.com>2022-05-05 08:53:05 +0300
committerCatalinStratu <catalinstratu45@gmail.com>2022-05-05 09:38:41 +0300
commit661532d2528a190b247913571b38ab47334b1398 (patch)
tree5ee172580403301d7e9e541c7585bc601b3ec9bf /examples/9-tvtojson/exampletvtojson.go
parentb9aecfb8165322e061a1a31260b3ef9199cbebd4 (diff)
downloadspdx-tools-661532d2528a190b247913571b38ab47334b1398.tar.gz
YAML and JSON documenttion fixes
Signed-off-by: CatalinStratu <catalinstratu45@gmail.com>
Diffstat (limited to 'examples/9-tvtojson/exampletvtojson.go')
-rw-r--r--examples/9-tvtojson/exampletvtojson.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/9-tvtojson/exampletvtojson.go b/examples/9-tvtojson/exampletvtojson.go
index f7b776f..e8e6937 100644
--- a/examples/9-tvtojson/exampletvtojson.go
+++ b/examples/9-tvtojson/exampletvtojson.go
@@ -22,7 +22,7 @@ func main() {
if len(args) != 3 {
fmt.Printf("Usage: %v <spdx-file-in> <json-file-out>\n", args[0])
fmt.Printf(" Load SPDX 2.2 tag-value file <spdx-file-in>, and\n")
- fmt.Printf(" save it out to <json-file-out>.\n")
+ fmt.Printf(" save it out to JSON <json-file-out>.\n")
return
}
@@ -56,7 +56,7 @@ func main() {
}
defer w.Close()
- // try to save the document to disk as an SPDX json file, version 2.2
+ // try to save the document to disk as JSON file
err = spdx_json.Save2_2(doc, w)
if err != nil {
fmt.Printf("Error while saving %v: %v", fileOut, err)