summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-11 11:41:58 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-11 11:41:58 +0000
commitb3298b89e0beea535e11b03bd1eb8ed1d6ea3b21 (patch)
treed337c95feeb238ec0bca1c52159c011f4acfa109 /recordmydesktop
parentb8eb795a9c0a751ee478d781e3f9f062bad6d21f (diff)
src/rmd_parseargs.c: Make sure all options have longarg variants as
this makes the --help output look nicer. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@594 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/rmd_parseargs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_parseargs.c b/recordmydesktop/src/rmd_parseargs.c
index 9a09334..dc72535 100644
--- a/recordmydesktop/src/rmd_parseargs.c
+++ b/recordmydesktop/src/rmd_parseargs.c
@@ -108,12 +108,12 @@ boolean rmdParseArgs(int argc, char **argv, ProgArgs *arg_return) {
"Display to connect to.",
"DISPLAY" },
- { NULL, 'x',
+ { "x", 'x',
POPT_ARG_INT, &arg_return->x, 0,
"Offset in x direction.",
"N>=0" },
- { NULL, 'y',
+ { "x", 'y',
POPT_ARG_INT, &arg_return->y, 0,
"Offset in y direction.",
"N>=0" },
@@ -277,7 +277,7 @@ boolean rmdParseArgs(int argc, char **argv, ProgArgs *arg_return) {
"If there is already a file with the same name, delete it (default is to add a number postfix to the new one).",
NULL },
- { NULL, 'o',
+ { "output", 'o',
POPT_ARG_STRING, &arg_return->filename, 0,
"Name of recorded video(default out.ogv).",
"filename" },
© All Rights Reserved