]> granicus.if.org Git - postgresql/commitdiff
pgbench: Fix order of options in --help output
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 12 May 2013 01:57:54 +0000 (21:57 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 12 May 2013 02:02:53 +0000 (22:02 -0400)
contrib/pgbench/pgbench.c

index bc01f0735160eef90a8d12e3c812eed0d76447b9..24dab1f3362efb161578b0356ba8d874f74ff262 100644 (file)
@@ -328,10 +328,10 @@ usage(void)
                   "  %s [OPTION]... [DBNAME]\n"
                   "\nInitialization options:\n"
                   "  -i           invokes initialization mode\n"
-                  "  -n           do not run VACUUM after initialization\n"
                   "  -F NUM       fill factor\n"
-                  "  -s NUM       scaling factor\n"
+                  "  -n           do not run VACUUM after initialization\n"
                   "  -q           quiet logging (one message each 5 seconds)\n"
+                  "  -s NUM       scaling factor\n"
                   "  --foreign-keys\n"
                   "               create foreign key constraints between tables\n"
                   "  --index-tablespace=TABLESPACE\n"
@@ -348,10 +348,6 @@ usage(void)
                   "  -f FILENAME  read transaction script from FILENAME\n"
                   "  -j NUM       number of threads (default: 1)\n"
                   "  -l           write transaction times to log file\n"
-                  "  --sampling-rate NUM\n"
-                  "               fraction of transactions to log (e.g. 0.01 for 1%% sample)\n"
-                  "  --aggregate-interval NUM\n"
-                  "               aggregate data over NUM seconds\n"
                   "  -M simple|extended|prepared\n"
                   "               protocol for submitting queries to server (default: simple)\n"
                   "  -n           do not run VACUUM before tests\n"
@@ -362,6 +358,10 @@ usage(void)
         "  -t NUM       number of transactions each client runs (default: 10)\n"
                   "  -T NUM       duration of benchmark test in seconds\n"
                   "  -v           vacuum all four standard tables before tests\n"
+                  "  --aggregate-interval=NUM\n"
+                  "               aggregate data over NUM seconds\n"
+                  "  --sampling-rate=NUM\n"
+                  "               fraction of transactions to log (e.g. 0.01 for 1%% sample)\n"
                   "\nCommon options:\n"
                   "  -d             print debugging output\n"
                   "  -h HOSTNAME    database server host or socket directory\n"