|
1 | | -/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.47 2001/08/24 22:37:36 petere Exp $ */ |
| 1 | +/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.48 2001/08/28 02:47:18 tgl Exp $ */ |
2 | 2 |
|
3 | 3 | /* New main for ecpg, the PostgreSQL embedded SQL precompiler. */ |
4 | 4 | /* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */ |
@@ -29,15 +29,16 @@ help(const char *progname) |
29 | 29 | { |
30 | 30 | printf("%s is the PostgreSQL embedded SQL preprocessor for C programs.\n\n", |
31 | 31 | progname); |
32 | | -printf("Usage:\n" |
33 | | -" %s %s[-I DIRECTORY] [-o OUTFILE] [-t] file1 [file2...]\n\n", |
34 | | -progname, |
| 32 | +/* printf is a macro some places; don't #ifdef inside its arguments */ |
35 | 33 | #ifdefYYDEBUG |
36 | | -"[-d] " |
| 34 | +printf("Usage:\n" |
| 35 | +" %s [-d] [-I DIRECTORY] [-o OUTFILE] [-t] file1 [file2...]\n\n", |
| 36 | +progname); |
37 | 37 | #else |
38 | | -"" |
| 38 | +printf("Usage:\n" |
| 39 | +" %s [-I DIRECTORY] [-o OUTFILE] [-t] file1 [file2...]\n\n", |
| 40 | +progname); |
39 | 41 | #endif |
40 | | -); |
41 | 42 | printf("Options:\n"); |
42 | 43 | #ifdefYYDEBUG |
43 | 44 | printf(" -d generate parser debug output\n"); |
|