From 7f116975cb9f8405feedb727b4c963bb4c4e74df Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 2 Jul 2020 19:08:21 -0700 Subject: parseargs: fix obvious typo in long form of -y This explains why I've seen errors using --long arguments consistently even for --x and --y. I had assumed --x and --y weren't supported but it turns out it's just what looks to be a copy and paste error. Man this source has been such a disaster area. --- recordmydesktop/src/rmd_parseargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recordmydesktop/src/rmd_parseargs.c b/recordmydesktop/src/rmd_parseargs.c index 3ff8d21..1cce025 100644 --- a/recordmydesktop/src/rmd_parseargs.c +++ b/recordmydesktop/src/rmd_parseargs.c @@ -112,7 +112,7 @@ boolean rmdParseArgs(int argc, char **argv, ProgArgs *arg_return) { "Offset in x direction.", "N>=0" }, - { "x", 'y', + { "y", 'y', POPT_ARG_INT, &arg_return->y, 0, "Offset in y direction.", "N>=0" }, -- cgit v1.2.3