From b3298b89e0beea535e11b03bd1eb8ed1d6ea3b21 Mon Sep 17 00:00:00 2001 From: enselic Date: Sun, 11 Jan 2009 11:41:58 +0000 Subject: 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 --- recordmydesktop/src/rmd_parseargs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recordmydesktop/src') 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" }, -- cgit v1.2.3