22 * SPDX-FileCopyrightText: Copyright (c) 2020 Source Auditor Inc.
33 * SPDX-FileType: SOURCE
44 * SPDX-License-Identifier: Apache-2.0
5- *
5+ * <p>
66 * Licensed under the Apache License, Version 2.0 (the "License");
77 * you may not use this file except in compliance with the License.
88 * You may obtain a copy of the License at
9- *
9+ * <p>
1010 * https://www.apache.org/licenses/LICENSE-2.0
11- *
11+ * <p>
1212 * Unless required by applicable law or agreed to in writing, software
1313 * distributed under the License is distributed on an "AS IS" BASIS,
1414 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -51,7 +51,7 @@ public static void main(String[] args) {
5151 GenerateVerificationCode .main (args );
5252 } else if ("Version" .equals (spdxTool )) {
5353 System .out .println ("SPDX Tool Version: " + SpdxVersion .getCurrentToolVersion () +
54- "; Specification Version: " + SpdxVersion .getLibraryVersion () +
54+ "; Specification Version: " + SpdxVersion .getLatestSpecVersion () +
5555 "; License List Version: " + SpdxVersion .getLicenseListVersion ());
5656 } else if ("MatchingStandardLicenses" .equals (spdxTool )) {
5757 MatchingStandardLicenses .main (args );
@@ -61,8 +61,7 @@ public static void main(String[] args) {
6161 }
6262
6363 private static void usage () {
64- System .out .println (""
65- + "Usage: java -jar spdx-tools-jar-with-dependencies.jar <function> <parameters> \n "
64+ System .out .println ("Usage: java -jar spdx-tools-jar-with-dependencies.jar <function> <parameters> \n "
6665 + "function parameter example \n "
6766 + "------------------------------------------------------------------------------------------------------------------- \n "
6867 + "Convert inputFile outputFile [fromType] [toType] Examples/SPDXTagExample.tag TagToSpreadsheet.xls \n "
0 commit comments