Subject: Re: [PATCH 02/27] ip: add new command line argument -json (mutually exclusive with -color)

From: Stephen Hemminger <[email-masked]>
Date: Thu, 3 Aug 2017 09:17:45 -0700

On Thu,  3 Aug 2017 17:54:50 +0200
Julien Fortin <[email-masked]> wrote:

> @@ -292,6 +295,9 @@ int main(int argc, char **argv)
>  
>  	_SL_ = oneline ? "\\" : "\n";
>  
> +	if (json)
> +		disable_color();

Probably better to error out if user gives -j and -c