diff options
Diffstat (limited to 'examples/10-jsonloader/example_json_loader.go')
-rw-r--r-- | examples/10-jsonloader/example_json_loader.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/10-jsonloader/example_json_loader.go b/examples/10-jsonloader/example_json_loader.go index 96f47fd..c5d63b9 100644 --- a/examples/10-jsonloader/example_json_loader.go +++ b/examples/10-jsonloader/example_json_loader.go @@ -4,7 +4,7 @@ // This example demonstrates loading an SPDX json from disk into memory, // and then logging out some attributes to the console . - +// Run project: go run example_json_loader.go ../sample-docs/json/SPDXJSONExample-v2.2.spdx.json example.spdx package main import ( @@ -20,7 +20,7 @@ func main() { // check that we've received the right number of arguments args := os.Args if len(args) != 3 { - fmt.Printf("Usage: %v <spdx-file-in> <spdx-file-out>\n", args[0]) + fmt.Printf("Usage: %v <json-file-in> <spdx-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 <spdx-file-out>.\n") return |