summaryrefslogtreecommitdiffstats
path: root/test/ipedec.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-30 16:30:19 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-30 16:30:19 +0200
commitbd3224828f527f05fa84eb0d5bfaa2529f64145b (patch)
tree20da4794be6728f1bad50b5f8aab0e2e2a499575 /test/ipedec.c
parent519ec3e652952530f975482b56ead02b03c1e28a (diff)
downloadlibufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.gz
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.bz2
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.xz
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.zip
clear-frame does not expect an argument
Fix problem that ipedec eats one filename after supplying "-c" or "--clear-frame".
Diffstat (limited to 'test/ipedec.c')
-rw-r--r--test/ipedec.c2
1 files changed, 1 insertions, 1 deletions
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);