It would be great if there was a way to enable/disable color using a
separate option or system property.
Adding -B could disable color by default, but explicitly enabling it might
prove useful in, say, Jenkins with AnsiColor plugin.

2016-06-12 23:39 GMT+03:00 Baptiste Mathus <[email protected]>:

> Well, as I hadn't tested this version and was just guessing /by intuition/
> on what I generally use --batch-mode for, I'd disagree on your last
> statement :).
> But agreed it might be interesting to have some words about it in the help.
> Patches/PR are always welcome.
>
> 2016-06-12 22:15 GMT+02:00 Oliver B. Fischer <[email protected]>:
>
> > Yes, running with -B disables the colorized output.
> >
> > But at least the description of this option should mention this too
> > because IMHO it is not intuitive that -B disables the colors.
> >
> >
> > WDYT?
> >
> > Am 12.06.16 um 22:09 schrieb Baptiste Mathus:
> >
> >> Didn't test it, but using batch mode would seem natural for that IMO.
> >>
> >> My 2 cents
> >>
> >> 2016-06-12 22:04 GMT+02:00 Oliver B. Fischer <[email protected]
> >:
> >>
> >> The colorized output is very nice, but I would like to have also a
> >>> commandline option to disable it. I often redirect the output of Maven
> >>> to a
> >>> file to check the build. All the escape sequences are disturbing in
> this
> >>> case.
> >>>
> >>> Running mvn --help I didn't see an option to disable it. Could such an
> >>> option be added?
> >>>
> >>> Am 11.06.16 um 22:21 schrieb Karl Heinz Marbaise:
> >>>
> >>> --
> >>> N Oliver B. Fischer
> >>> A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
> >>> P +49 30 44793251
> >>> M +49 178 7903538
> >>> E [email protected]
> >>> S oliver.b.fischer
> >>> J [email protected]
> >>> X http://xing.to/obf
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>>
> >>>
> >>>
> > --
> > N Oliver B. Fischer
> > A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
> > P +49 30 44793251
> > M +49 178 7903538
> > E [email protected]
> > S oliver.b.fischer
> > J [email protected]
> > X http://xing.to/obf
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>



-- 
Regards,
Anton.

Reply via email to