summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-25 10:27:54 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-25 10:30:02 -0300
commit69b0d987110ea80237d1896a05bbd3c4c3c80b08 (patch)
tree17dd6de6aae0d02af5edb264c0a6f1f283ca6438 /main.c
parenta8f59fa1ed7d91b82a57b7cd7b31159f74835fa0 (diff)
downloadeeshow-69b0d987110ea80237d1896a05bbd3c4c3c80b08.tar.gz
eeshow-69b0d987110ea80237d1896a05bbd3c4c3c80b08.tar.bz2
eeshow-69b0d987110ea80237d1896a05bbd3c4c3c80b08.zip
undocumented option -O to disable overline drawing (in case it crashes)
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 142a873..705ac2e 100644
--- a/main.c
+++ b/main.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
if (!have_dashdash)
gtk_init(&argc, &argv);
- while ((c = getopt(dashdash, argv, "ervC:F:H:N:PSV")) != EOF)
+ while ((c = getopt(dashdash, argv, "ervC:F:H:N:OPSV")) != EOF)
switch (c) {
case 'e':
extra = 1;
@@ -189,6 +189,9 @@ int main(int argc, char **argv)
case 'N':
limit = atoi(optarg);
break;
+ case 'O':
+ disable_overline = 1;
+ break;
case 'P':
use_pango = 1;
break;