summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-05 21:19:56 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-05 21:19:56 -0300
commitf86b4c90d5d1e27bf9880ce34450109506751508 (patch)
tree2816b168a293956dae3b731ce5fc1d79e27f1867 /main.c
parentc87a1276ace0fedd1292dade2d3da0b619f733ff (diff)
downloadeeshow-f86b4c90d5d1e27bf9880ce34450109506751508.tar.gz
eeshow-f86b4c90d5d1e27bf9880ce34450109506751508.tar.bz2
eeshow-f86b4c90d5d1e27bf9880ce34450109506751508.zip
eeshow/main.c (usage): update to show GUI invocation
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.c b/main.c
index cd920cc..815b556 100644
--- a/main.c
+++ b/main.c
@@ -46,7 +46,8 @@ static struct gfx_ops const *ops_list[] = {
void usage(const char *name)
{
fprintf(stderr,
-"usage: %s [-r] [-v ...] [[rev:]file.lib ...] [rev:]file.sch\n"
+"usage: %s [gtk_flags] [-r] [[rev:]file.lib ...] [rev:]file.sch\n"
+" %s [-r] [-v ...] [[rev:]file.lib ...] [rev:]file.sch\n"
" %*s[-- driver_spec]\n"
" %s [-v ...] -C [rev:]file\n"
" %s [-v ...] -H path_into_repo\n"
@@ -57,6 +58,8 @@ void usage(const char *name)
" -C 'cat' the file to standard output\n"
" -H show history of repository on standard output\n"
"\n"
+"No driver spec: enter GUI\n"
+"\n"
"FIG driver spec:\n"
" fig [-t template.fig] [var=value ...]\n"
"\n"
@@ -78,7 +81,7 @@ void usage(const char *name)
" diff [-o output.pdf] [-s scale] [file.lib ...] file.sch\n"
"\n"
" see PNG\n"
- , name, (int) strlen(name) + 1, "", name, name);
+ , name, name, (int) strlen(name) + 1, "", name, name);
exit(1);
}