summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 16:11:24 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-03 22:18:29 (GMT)
commit45d0e26e83947644064934e8a620ce9b7720fa03 (patch)
tree597a74265dade98f39547e0b5a38a39710bf6a89 /main
parent94929517d4f82a655c1cdcd854569eec8d16f6c5 (diff)
downloadeeshow-45d0e26e83947644064934e8a620ce9b7720fa03.zip
eeshow-45d0e26e83947644064934e8a620ce9b7720fa03.tar.gz
eeshow-45d0e26e83947644064934e8a620ce9b7720fa03.tar.bz2
gfx/fig.c: support option -o output.fig
Diffstat (limited to 'main')
-rw-r--r--main/eeplot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/eeplot.c b/main/eeplot.c
index 68c4c6d..6e05a9b 100644
--- a/main/eeplot.c
+++ b/main/eeplot.c
@@ -64,8 +64,9 @@ void usage(const char *name)
" gdb run eeshow under gdb\n"
"\n"
"FIG driver spec:\n"
-" fig [-t template.fig] [-D var=value ...]\n"
+" fig [-o output.fig] [-t template.fig] [-D var=value ...]\n"
"\n"
+" -o output.fig write FIG to specified file (default; standard output)\n"
" -t template.fig merge this file with generated output\n"
" -D var=value substitute \"<var>\" with \"value\" in template\n"
"\n"