summaryrefslogtreecommitdiff
path: root/main/eeplot.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-15 01:42:46 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-15 01:42:46 -0300
commit3354a349dfc3300514da00be1eb94475007e0808 (patch)
treead6a0a133c1199457e770283b4ebdefdf5050c80 /main/eeplot.c
parent34566e8471bce5f74f5951368ef6223cd00577b7 (diff)
downloadeeshow-3354a349dfc3300514da00be1eb94475007e0808.tar.gz
eeshow-3354a349dfc3300514da00be1eb94475007e0808.tar.bz2
eeshow-3354a349dfc3300514da00be1eb94475007e0808.zip
main/: show usage on -h, without complaints (suggested by Roman Pavelka)
Diffstat (limited to 'main/eeplot.c')
-rw-r--r--main/eeplot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/eeplot.c b/main/eeplot.c
index 86bc4e7..c5c19d1 100644
--- a/main/eeplot.c
+++ b/main/eeplot.c
@@ -132,7 +132,7 @@ void usage(const char *name)
}
-#define OPTIONS "1evL:OPV"
+#define OPTIONS "1ehvL:OPV"
int main(int argc, char **argv)
@@ -180,6 +180,7 @@ int main(int argc, char **argv)
case 'V':
fprintf(stderr, "%s %sZ\n", version, build_date);
return 1;
+ case 'h':
case '?':
usage(*argv);
default: