CLI: added "-printArgs" arguments to commandline compiler.

This commit is contained in:
Zalim Bashorov
2013-10-10 22:19:41 +04:00
parent 41d0a8be24
commit 0877dfc1bd
8 changed files with 107 additions and 18 deletions
@@ -33,6 +33,8 @@ public abstract class CommonCompilerArguments extends CompilerArguments {
public boolean help;
@Argument(value = "suppress", description = "Suppress compiler messages by severity (warnings)")
public String suppress;
@Argument(value = "printArgs", description = "Print commandline arguments")
public boolean printArgs;
@Override
public boolean isHelp() {
@@ -58,6 +60,11 @@ public abstract class CommonCompilerArguments extends CompilerArguments {
return verbose;
}
@Override
public boolean isPrintArgs() {
return printArgs;
}
public void setTags(boolean tags) {
this.tags = tags;
}
@@ -27,6 +27,7 @@ public abstract class CompilerArguments {
public abstract boolean isTags();
public abstract boolean isVersion();
public abstract boolean isVerbose();
public abstract boolean isPrintArgs();
public abstract String getSrc();