diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-07 01:53:43 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-07 01:53:43 +0100 |
commit | dee91d82004ed7dfe217b12fe8d49d7ae508ac5b (patch) | |
tree | 5d2bf8badafb0e4cdee2fe70bcb552a29b874530 /src | |
parent | fad4f12ef49408c650cb3523b1aa4dfd2bd45bad (diff) | |
download | yawa-dee91d82004ed7dfe217b12fe8d49d7ae508ac5b.tar.xz |
yawa.c: handle flips
Diffstat (limited to 'src')
-rw-r--r-- | src/yawa.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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); |