aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-07 01:53:43 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-07 01:53:43 +0100
commitdee91d82004ed7dfe217b12fe8d49d7ae508ac5b (patch)
tree5d2bf8badafb0e4cdee2fe70bcb552a29b874530 /src
parentfad4f12ef49408c650cb3523b1aa4dfd2bd45bad (diff)
downloadyawa-dee91d82004ed7dfe217b12fe8d49d7ae508ac5b.tar.xz
yawa.c: handle flips
Diffstat (limited to 'src')
-rw-r--r--src/yawa.c11
1 files changed, 11 insertions, 0 deletions
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);