1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 12:17:44 +02:00

eeshow/main.c (usage): update to show GUI invocation

This commit is contained in:
Werner Almesberger 2016-08-05 21:19:56 -03:00
parent 21c9a6e1aa
commit fffa29bbb3

View File

@ -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);
}