diff --git a/main.c b/main.c index 41bd050..e2bf055 100644 --- a/main.c +++ b/main.c @@ -49,7 +49,7 @@ void help() { } void stripe(const unsigned short int color) { - printf(ANSI "%dum" STRIPE, color); + printf(ANSI "%dm" STRIPE, color); } int main(int argc, char **argv) { @@ -94,18 +94,18 @@ int main(int argc, char **argv) { break; case 'p': // - PANSEXUAL - - draw(MAGENTA); - draw(L_YELLOW); - draw(CYAN); + stripe(MAGENTA); + stripe(L_YELLOW); + stripe(CYAN); break; case 'r': // - RAINBOW - - draw(RED); - draw(L_RED); - draw(L_YELLOW); - draw(GREEN); - draw(BLUE); - draw(MAGENTA); + stripe(RED); + stripe(L_RED); + stripe(L_YELLOW); + stripe(GREEN); + stripe(BLUE); + stripe(MAGENTA); break; case 't': // - TRANSGENDER - @@ -117,7 +117,8 @@ int main(int argc, char **argv) { break; default: - printf("pride-c: no flag '%c' found", sym + printf("pride-c: no flag '%c' found", sym); + break; } printf(RESET);