From dee91d82004ed7dfe217b12fe8d49d7ae508ac5b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 7 Nov 2014 01:53:43 +0100 Subject: yawa.c: handle flips --- src/yawa.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/yawa.c b/src/yawa.c index 2cac14b..71e6931 100644 --- a/src/yawa.c +++ b/src/yawa.c @@ -93,6 +93,17 @@ parse_opt (int key, char *arg, struct argp_state *state) arguments->tint = true; arguments->color = arg; break; + + case 'v': + arguments->flipv = true; + break; + case 'h': + arguments->fliph = true; + break; + case 'd': + arguments->flipd = true; + break; + case 'A': arguments->alpha = true; val = strtol(arg, &endptr, 10); -- cgit v1.2.3-70-g09d2