diff --git a/src/main/java/org/spdx/tools/Main.java b/src/main/java/org/spdx/tools/Main.java index 0f1123a..4dfaf87 100644 --- a/src/main/java/org/spdx/tools/Main.java +++ b/src/main/java/org/spdx/tools/Main.java @@ -2,13 +2,13 @@ * SPDX-FileCopyrightText: Copyright (c) 2020 Source Auditor Inc. * SPDX-FileType: SOURCE * SPDX-License-Identifier: Apache-2.0 - * + *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + *

* https://www.apache.org/licenses/LICENSE-2.0 - * + *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -51,7 +51,7 @@ public static void main(String[] args) { GenerateVerificationCode.main(args); } else if ("Version".equals(spdxTool)) { System.out.println("SPDX Tool Version: " + SpdxVersion.getCurrentToolVersion() + - "; Specification Version: " + SpdxVersion.getLibraryVersion() + + "; Specification Version: " + SpdxVersion.getLatestSpecVersion() + "; License List Version: " + SpdxVersion.getLicenseListVersion()); } else if ("MatchingStandardLicenses".equals(spdxTool)) { MatchingStandardLicenses.main(args); @@ -61,8 +61,7 @@ public static void main(String[] args) { } private static void usage() { - System.out.println("" - + "Usage: java -jar spdx-tools-jar-with-dependencies.jar \n" + System.out.println("Usage: java -jar spdx-tools-jar-with-dependencies.jar \n" + "function parameter example \n" + "------------------------------------------------------------------------------------------------------------------- \n" + "Convert inputFile outputFile [fromType] [toType] Examples/SPDXTagExample.tag TagToSpreadsheet.xls \n"