|
5 | 5 | * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group |
6 | 6 | * Portions Copyright (c) 1994, Regents of the University of California |
7 | 7 | * |
8 | | - * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.32 2010/01/07 12:38:55 momjian Exp $ |
| 8 | + * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.33 2010/01/07 14:35:44 momjian Exp $ |
9 | 9 | * |
10 | 10 | *------------------------------------------------------------------------- |
11 | 11 | */ |
@@ -41,7 +41,7 @@ main(int argc, char *argv[]) |
41 | 41 | {"quiet", no_argument, NULL, 'q'}, |
42 | 42 | {"dbname", required_argument, NULL, 'd'}, |
43 | 43 | {"analyze", no_argument, NULL, 'z'}, |
44 | | - {"analyze-only", no_argument, NULL, 'o'}, |
| 44 | + {"analyze-only", no_argument, NULL, 'Z'}, |
45 | 45 | {"freeze", no_argument, NULL, 'F'}, |
46 | 46 | {"all", no_argument, NULL, 'a'}, |
47 | 47 | {"table", required_argument, NULL, 't'}, |
@@ -107,7 +107,7 @@ main(int argc, char *argv[]) |
107 | 107 | case 'z': |
108 | 108 | and_analyze = true; |
109 | 109 | break; |
110 | | - case 'o': |
| 110 | + case 'Z': |
111 | 111 | analyze_only = true; |
112 | 112 | break; |
113 | 113 | case 'F': |
@@ -351,11 +351,11 @@ help(const char *progname) |
351 | 351 | printf(_(" -f, --full do full vacuuming\n")); |
352 | 352 | printf(_(" -F, --freeze freeze row transaction information\n")); |
353 | 353 | printf(_(" -i, --inplace do full inplace vacuuming\n")); |
354 | | - printf(_(" -o, --analyze-only only update optimizer hints\n")); |
355 | 354 | printf(_(" -q, --quiet don't write any messages\n")); |
356 | 355 | printf(_(" -t, --table='TABLE[(COLUMNS)]' vacuum specific table only\n")); |
357 | 356 | printf(_(" -v, --verbose write a lot of output\n")); |
358 | 357 | printf(_(" -z, --analyze update optimizer hints\n")); |
| 358 | + printf(_(" -Z, --analyze-only only update optimizer hints\n")); |
359 | 359 | printf(_(" --help show this help, then exit\n")); |
360 | 360 | printf(_(" --version output version information, then exit\n")); |
361 | 361 | printf(_("\nConnection options:\n")); |
|
0 commit comments