summaryrefslogtreecommitdiffstats
path: root/tools/gui/control.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:44:44 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:44:44 +0200
commit4db2ac7026ae3bc85807016cb2510fed996a2a20 (patch)
tree2d093f58b02add0d8a96333f322aa7a9c45a3de9 /tools/gui/control.c
parent694d4b4edd93bc8fdba6f578454d6b7b9f95003f (diff)
downloadlibuca-4db2ac7026ae3bc85807016cb2510fed996a2a20.tar.gz
libuca-4db2ac7026ae3bc85807016cb2510fed996a2a20.tar.bz2
libuca-4db2ac7026ae3bc85807016cb2510fed996a2a20.tar.xz
libuca-4db2ac7026ae3bc85807016cb2510fed996a2a20.zip
Don't make memory argument optional
If `-m' is supplied, a number must follow.
Diffstat (limited to 'tools/gui/control.c')
-rw-r--r--tools/gui/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gui/control.c b/tools/gui/control.c
index a5ef410..0d08893 100644
--- a/tools/gui/control.c
+++ b/tools/gui/control.c
@@ -538,7 +538,7 @@ main (int argc, char *argv[])
static GOptionEntry entries[] =
{
- { "mem-size", 'm', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_INT, &mem_size, "Memory in megabytes to allocate for frame storage", "M" },
+ { "mem-size", 'm', 0, G_OPTION_ARG_INT, &mem_size, "Memory in megabytes to allocate for frame storage", "M" },
{ NULL }
};