diff options
author | Yorhel <git@yorhel.nl> | 2018-03-29 17:20:43 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-03-29 17:20:43 +0200 |
commit | fa19095e26669fe1a71ffaae6b9e86b978599c7d (patch) | |
tree | 8d45295497292a851625e66d60c5a4e194ffdb13 | |
parent | 31126c6552ec3585ffa25f36422f7e5d889de05f (diff) |
Fix '--color off'
https://dev.yorhel.nl/ncdu/bug/111
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ static void argv_parse(int argc, char **argv) { break; case 'c': if(strcmp(val, "off") == 0) { uic_theme = 0; } - if(strcmp(val, "dark") == 0) { uic_theme = 1; } + else if(strcmp(val, "dark") == 0) { uic_theme = 1; } else { fprintf(stderr, "Unknown --color option: %s\n", val); exit(1); |