We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45c9b1 commit ed4ac0cCopy full SHA for ed4ac0c
src/options.c
@@ -236,6 +236,11 @@ void options_parse(int argc, char *argv[])
236
exit(EXIT_SUCCESS);
237
}
238
239
+ // Support no-color.org informal spec
240
+ char *no_color = getenv("NO_COLOR");
241
+ if(no_color != NULL && no_color[0] != '\0')
242
+ option.color = -1;
243
+
244
while (1)
245
{
246
static struct option long_options[] =
0 commit comments