From 11b7bda8719926cc0f3363dd560ff7d81579b302 Mon Sep 17 00:00:00 2001 From: mohan-chinnappan-n Date: Fri, 9 Sep 2022 04:21:56 -0400 Subject: [PATCH] Update TreeExportCli.java missing --file arg in "Example: ast-dump --format xml --language java --file MyFile.java" added --- .../java/net/sourceforge/pmd/util/treeexport/TreeExportCli.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/util/treeexport/TreeExportCli.java b/pmd-core/src/main/java/net/sourceforge/pmd/util/treeexport/TreeExportCli.java index cd7c7c7e99..5ad05cb9da 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/util/treeexport/TreeExportCli.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/util/treeexport/TreeExportCli.java @@ -139,7 +139,7 @@ public class TreeExportCli { sb.append(System.lineSeparator()) .append(System.lineSeparator()); - sb.append("Example: ast-dump --format xml --language java MyFile.java") + sb.append("Example: ast-dump --format xml --language java --file MyFile.java") .append(System.lineSeparator()); System.err.print(sb);