summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-02 19:08:21 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:41 -0700
commit7f116975cb9f8405feedb727b4c963bb4c4e74df (patch)
tree5287c9c4086a72b6b5ccb51d13421a8fbd72be8e
parentbbd22c084923065a74e8aae774eb0e4e611454cd (diff)
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.
-rw-r--r--recordmydesktop/src/rmd_parseargs.c2
1 files changed, 1 insertions, 1 deletions
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" },
© All Rights Reserved