Add the --color option as an alias to -Dstyle.color, fixes #376

This commit is contained in:
Guillaume Nodet
2021-04-28 11:53:58 +02:00
parent cec1b33aa1
commit 585b5a9546
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ public enum Environment {
/** Define */
MAVEN_DEFINE(null, null, null, OptionType.STRING, Flags.INTERNAL, "mvn:-D", "mvn:--define"),
/** Whether the output should be styled using ANSI color codes; possible values: auto, always, never */
MAVEN_COLOR("style.color", null, "auto", OptionType.STRING, Flags.OPTIONAL),
MAVEN_COLOR("style.color", null, "auto", OptionType.STRING, Flags.OPTIONAL, "mvnd:--color"),
//
// mvnd properties