Skip to content

Commit

Permalink
Merge pull request #169 from spdx/help01
Browse files Browse the repository at this point in the history
Add JSONLD to the documenation for supported file types
  • Loading branch information
goneall authored Dec 14, 2024
2 parents 5981733 + c0ef11e commit e037275
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/spdx/tools/CompareSpdxDocs.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private static void usage() {
System.out.println("Usage: CompareMultipleSpdxDoc output.xls doc1 doc2 ... docN");
System.out.println("where output.xls is a file name for the output spreadsheet file");
System.out.println("and doc1 through docN are file names of valid SPDX documents ");
System.out.println("in either tag/value or RDF/XML format");
System.out.println("in any of the supported formats format");
}

}
4 changes: 2 additions & 2 deletions src/main/java/org/spdx/tools/SpdxConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ private static void usage() {
System.out.println("SpdxConverter fromFilePath toFilePath [fromFileType] [toFileType]");
System.out.println("\tfromFilePath - File path of the file to convert from");
System.out.println("\ttoFilePath - output file");
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");
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");
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");
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");
System.out.println("\t[excludeLicenseDetails] - If present, listed license and listed exception properties will not be included in the output file");
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/spdx/tools/SpdxViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static void main(String[] args) {
System.err
.println("Usage:\n SPDXViewer file [RDFXML|JSON|XLS|XLSX|YAML|TAG] \n"
+ "where file is the file path to a valid SPDX file\n"
+ "and [RDFXML|JSON|XLS|XLSX|YAML|TAG] is an optional file type\n"
+ "and [RDFXML|JSON|XLS|XLSX|YAML|TAG|JSONLD] is an optional file type\n"
+ "if not present, file type of the to file will be used");
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/spdx/tools/Verify.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public static List<String> verifyRDFFile(String filePath) throws SpdxVerificatio
}

public void usage() {
System.out.println("Verify filepath [RDFXML|JSON|XLS|XLSX|YAML|TAG]");
System.out.println("Verify filepath [RDFXML|JSON|XLS|XLSX|YAML|TAG|JSONLD]");
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");
}
}

0 comments on commit e037275

Please sign in to comment.