summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 11:05:10 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-03 22:18:29 (GMT)
commita150ffdb0c068e5e340e0a60a46b21d3dad66ab2 (patch)
tree63fcc82b10b55598216131fb666eb2e506f58b8e /gfx
parente34ed00a85db37844a28c58e2e57d4d02ebee7cf (diff)
downloadeeshow-a150ffdb0c068e5e340e0a60a46b21d3dad66ab2.zip
eeshow-a150ffdb0c068e5e340e0a60a46b21d3dad66ab2.tar.gz
eeshow-a150ffdb0c068e5e340e0a60a46b21d3dad66ab2.tar.bz2
gfx/cro.c (cr_args): earmark for not accepting no non-option arguments
We can't make this change yet since file names arguments are visible to cr_args when used by eediff.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/cro.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/cro.c b/gfx/cro.c
index 1a9b593..11b482a 100644
--- a/gfx/cro.c
+++ b/gfx/cro.c
@@ -524,6 +524,12 @@ static bool cr_args(void *ctx, int argc, char *const *argv)
default:
usage(*argv);
}
+
+#if 0
+ if (argc != optind)
+ usage(*argv);
+#endif
+
return 1;
}