diff --git a/src/main.c b/src/main.c index 6b32442..31926aa 100644 --- a/src/main.c +++ b/src/main.c @@ -65,8 +65,9 @@ int main(int argc, char *argv[]) { "width", 1, NULL, 'w' }, { "termwidth", 0, NULL, 't' }, { "filter", 1, NULL, 'F' }, - { "rainbow", 0, NULL, 130 }, + { "gay", 0, NULL, 130 }, { "metal", 0, NULL, 131 }, + { "rainbow", 0, NULL, 132 }, { "export", 1, NULL, 'E' }, { "irc", 0, NULL, 140 }, { "html", 0, NULL, 141 }, @@ -104,12 +105,15 @@ int main(int argc, char *argv[]) if(filter_add(cx, caca_optarg) < 0) return -1; break; - case 130: /* --rainbow */ + case 130: /* --gay (alias to rainbow)*/ filter_add(cx, "rainbow"); break; case 131: /* --metal */ filter_add(cx, "metal"); break; + case 132: /* --rainbow */ + filter_add(cx, "rainbow"); + break; case 'w': /* --width */ cx->term_width = atoi(caca_optarg); break; @@ -213,7 +217,7 @@ int main(int argc, char *argv[]) " -t, --termwidth adapt to terminal's width\n" \ " -F, --filter apply one or several filters to the text\n" \ " -F, --filter list list available filters\n" \ - " --rainbow rainbow filter (same as -F rainbow)\n" \ + " --rainbow rainbow filter (same as -F rainbow)\n" \ " --metal metal filter (same as -F metal)\n" \ " -E, --export select export format\n" \ " -E, --export list list available export formats\n" \