diagnostics: rename --style=debug as --color=debug

It is more consistent with --color=html, --color=test, etc.

* src/getargs.h, src/getargs.c (style_debug): Rename as...
(color_debug): this.
(getargs_colors): Rename --style=debug as --color=debug.
Adjust dependencies.
This commit is contained in:
Akim Demaille
2019-05-08 09:06:12 +02:00
parent 23e536af49
commit 0269c6fb03
4 changed files with 13 additions and 10 deletions

View File

@@ -72,7 +72,7 @@ begin_use_class (const char *s, FILE *out)
{
if (out == stderr)
{
if (style_debug)
if (color_debug)
fprintf (out, "<%s>", s);
else
{
@@ -87,7 +87,7 @@ end_use_class (const char *s, FILE *out)
{
if (out == stderr)
{
if (style_debug)
if (color_debug)
fprintf (out, "</%s>", s);
else
{