Prevent pg_autovacuum -D from needing an argument.
authorBruce Momjian <[email protected]>
Thu, 2 Dec 2004 20:31:17 +0000 (20:31 +0000)
committerBruce Momjian <[email protected]>
Thu, 2 Dec 2004 20:31:17 +0000 (20:31 +0000)
Kenneth Marshall

contrib/pg_autovacuum/pg_autovacuum.c

index 0f5177e3aab2d7aa53b9650c10a067d7cde373d3..0c59d0e524a8afd7a8286bc882205a9c35b3c28f 100644 (file)
@@ -1098,7 +1098,7 @@ get_cmd_args(int argc, char *argv[])
         * values etc
         */
 #ifndef WIN32
-       while ((c = getopt(argc, argv, "s:S:v:V:a:A:d:U:P:H:L:p:hD:c:C:m:n:l:")) != -1)
+       while ((c = getopt(argc, argv, "s:S:v:V:a:A:d:U:P:H:L:p:hDc:C:m:n:l:")) != -1)
 #else
        while ((c = getopt(argc, argv, "s:S:v:V:a:A:d:U:P:H:L:p:hIRN:W:c:C:m:n:l:")) != -1)
 #endif