summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-04 02:18:35 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-04 02:18:35 (GMT)
commit261df68754cb36e4627eba5c0c7ddf313a293115 (patch)
treed678a485cc4deb252edd78ad488face23cc68f94 /main
parent9132d430693cfda5e0c046a902cab469f83418de (diff)
downloadeeshow-261df68754cb36e4627eba5c0c7ddf313a293115.zip
eeshow-261df68754cb36e4627eba5c0c7ddf313a293115.tar.gz
eeshow-261df68754cb36e4627eba5c0c7ddf313a293115.tar.bz2
main/eediff.c: push -1 (does nothing) and -e to driver; properly support -e
Diffstat (limited to 'main')
-rw-r--r--main/eediff.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/main/eediff.c b/main/eediff.c
index feba8cd..2698027 100644
--- a/main/eediff.c
+++ b/main/eediff.c
@@ -64,13 +64,11 @@ void usage(const char *name)
}
-#define OPTIONS "1evL:OPV"
+#define OPTIONS "vL:OPV"
int main(int argc, char **argv)
{
- bool extra = 0;
- bool one_sheet = 0;
char c;
int dashdash;
struct file_names file_names;
@@ -89,12 +87,6 @@ int main(int argc, char **argv)
while ((c = getopt(dashdash, argv, OPTIONS)) != EOF)
switch (c) {
- case '1':
- one_sheet = 1;
- break;
- case 'e':
- extra = 1;
- break;
case 'v':
verbose++;
break;
@@ -138,8 +130,6 @@ int main(int argc, char **argv)
gfx = gfx_init(&diff_ops);
if (!gfx_args(gfx, gfx_argc, gfx_argv, OPTIONS))
return 1;
- if (!gfx_multi_sheet(gfx))
- one_sheet = 1;
free(gfx_argv);