From bd3224828f527f05fa84eb0d5bfaa2529f64145b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 30 May 2012 16:30:19 +0200 Subject: clear-frame does not expect an argument Fix problem that ipedec eats one filename after supplying "-c" or "--clear-frame". --- test/ipedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ipedec.c b/test/ipedec.c index 43e4641..c777e50 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -124,7 +124,7 @@ int main(int argc, char const* argv[]) return 0; } - while ((getopt_ret = getopt_long(argc, (char *const *) argv, "r:c:h", long_options, &index)) != -1) { + while ((getopt_ret = getopt_long(argc, (char *const *) argv, "r:ch", long_options, &index)) != -1) { switch (getopt_ret) { case 'r': rows = atoi(optarg); -- cgit v1.2.3