Fix SERIAL command line option

The boolean type cause the following argument to be swallowed
This commit is contained in:
Guillaume Nodet
2020-12-10 16:15:06 +01:00
parent e19bd7cb55
commit 80c93aabe9

View File

@@ -51,7 +51,7 @@ public enum Environment {
/** Stop all daemon instances registered in the registry specified by <code>mvnd.registry</code> */
STOP(null, null, null, OptionType.VOID, Flags.OPTIONAL, "--stop"),
/** Use one thread, no log buffering and the default project builder to behave like a standard maven */
SERIAL("mvnd.serial", null, Boolean.FALSE, OptionType.BOOLEAN, Flags.OPTIONAL, "--serial"),
SERIAL("mvnd.serial", null, Boolean.FALSE, OptionType.VOID, Flags.OPTIONAL, "--serial"),
//
// Log properties