Skip to content

Commit e037275

Browse files
authored
Merge pull request #169 from spdx/help01
Add JSONLD to the documenation for supported file types
2 parents 5981733 + c0ef11e commit e037275

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/main/java/org/spdx/tools/CompareSpdxDocs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private static void usage() {
225225
System.out.println("Usage: CompareMultipleSpdxDoc output.xls doc1 doc2 ... docN");
226226
System.out.println("where output.xls is a file name for the output spreadsheet file");
227227
System.out.println("and doc1 through docN are file names of valid SPDX documents ");
228-
System.out.println("in either tag/value or RDF/XML format");
228+
System.out.println("in any of the supported formats format");
229229
}
230230

231231
}

src/main/java/org/spdx/tools/SpdxConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ private static void usage() {
353353
System.out.println("SpdxConverter fromFilePath toFilePath [fromFileType] [toFileType]");
354354
System.out.println("\tfromFilePath - File path of the file to convert from");
355355
System.out.println("\ttoFilePath - output file");
356-
System.out.println("\t[fromFileType] - optional file type of the input file. One of JSON, XLS, XLSX, TAG, RDFXML, RDFTTL, YAML or XML. If not provided the file type will be determined by the file extension");
357-
System.out.println("\t[toFileType] - optional file type of the output file. One of JSON, XLS, XLSX, TAG, RDFXML, RDFTTL, YAML or XML. If not provided the file type will be determined by the file extension");
356+
System.out.println("\t[fromFileType] - optional file type of the input file. One of JSON, XLS, XLSX, TAG, RDFXML, RDFTTL, YAML, XML or JSONLD. If not provided the file type will be determined by the file extension");
357+
System.out.println("\t[toFileType] - optional file type of the output file. One of JSON, XLS, XLSX, TAG, RDFXML, RDFTTL, YAML, XML or JSONLD. If not provided the file type will be determined by the file extension");
358358
System.out.println("\t[excludeLicenseDetails] - If present, listed license and listed exception properties will not be included in the output file");
359359
}
360360

src/main/java/org/spdx/tools/SpdxViewer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static void main(String[] args) {
5656
System.err
5757
.println("Usage:\n SPDXViewer file [RDFXML|JSON|XLS|XLSX|YAML|TAG] \n"
5858
+ "where file is the file path to a valid SPDX file\n"
59-
+ "and [RDFXML|JSON|XLS|XLSX|YAML|TAG] is an optional file type\n"
59+
+ "and [RDFXML|JSON|XLS|XLSX|YAML|TAG|JSONLD] is an optional file type\n"
6060
+ "if not present, file type of the to file will be used");
6161
return;
6262
}

src/main/java/org/spdx/tools/Verify.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public static List<String> verifyRDFFile(String filePath) throws SpdxVerificatio
241241
}
242242

243243
public void usage() {
244-
System.out.println("Verify filepath [RDFXML|JSON|XLS|XLSX|YAML|TAG]");
244+
System.out.println("Verify filepath [RDFXML|JSON|XLS|XLSX|YAML|TAG|JSONLD]");
245245
System.out.println(" where filepath is a path to the SPDX file and [RDFXML|JSON|XLS|XLSX|YAML|TAG] is an optional file type - if not present, file type of the to file will be used");
246246
}
247247
}

0 commit comments

Comments
 (0)