summaryrefslogtreecommitdiff
path: root/lolcat.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-12-25 14:47:00 +0100
committerjaseg <git@jaseg.net>2020-12-25 14:47:00 +0100
commit2f5d7ab8c0d5b8bbad97c6caa4bddc4f1bbebe9d (patch)
treecc7259e266c19cbc5ba747e5ec4cd171a0f7dc1b /lolcat.c
parent36cce5225b1e703155641e288a31d13b4fc3cb74 (diff)
downloadlolcat-2f5d7ab8c0d5b8bbad97c6caa4bddc4f1bbebe9d.tar.gz
lolcat-2f5d7ab8c0d5b8bbad97c6caa4bddc4f1bbebe9d.tar.bz2
lolcat-2f5d7ab8c0d5b8bbad97c6caa4bddc4f1bbebe9d.zip
Make rgb support off-by-default
Diffstat (limited to 'lolcat.c')
-rwxr-xr-xlolcat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lolcat.c b/lolcat.c
index 15a01f5..0759079 100755
--- a/lolcat.c
+++ b/lolcat.c
@@ -98,7 +98,7 @@ int main(int argc, char** argv)
int colors = isatty(STDOUT_FILENO);
int force_locale = 1;
int random = 0;
- int rgb = 1;
+ int rgb = 0;
double freq_h = 0.23, freq_v = 0.1;
struct timeval tv;
@@ -129,8 +129,8 @@ int main(int argc, char** argv)
force_locale = 0;
} else if (!strcmp(argv[i], "-r")) {
random = 1;
- } else if (!strcmp(argv[i], "-8bits")) {
- rgb = 0;
+ } else if (!strcmp(argv[i], "-b")) {
+ rgb = 1;
} else if (!strcmp(argv[i], "--version")) {
version();
} else {