pgbench help message fix

Started by Fabien COELHOalmost 12 years ago3 messages
#1Fabien COELHO
coelho@cri.ensmp.fr
1 attachment(s)

A very minor fix to "pgbench --help" which is missing the expected
argument for the -t option.

--
Fabien.

Attachments:

pgbench-t.patchtext/x-diff; name=pgbench-t.patchDownload
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index a836acf..7c1e59e 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -368,7 +368,7 @@ usage(void)
 		   "  -R, --rate=NUM           target rate in transactions per second\n"
 		   "  -s, --scale=NUM          report this scale factor in output\n"
 		   "  -S, --select-only        perform SELECT-only transactions\n"
-		   "  -t, --transactions       number of transactions each client runs (default: 10)\n"
+		   "  -t, --transactions=NUM   number of transactions each client runs (default: 10)\n"
 		   "  -T, --time=NUM           duration of benchmark test in seconds\n"
 		   "  -v, --vacuum-all         vacuum all four standard tables before tests\n"
 		   "  --aggregate-interval=NUM aggregate data over NUM seconds\n"
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Fabien COELHO (#1)
Re: pgbench help message fix

On 2/27/14, 12:53 PM, Fabien COELHO wrote:

A very minor fix to "pgbench --help" which is missing the expected
argument for the -t option.

done

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Fabien COELHO
coelho@cri.ensmp.fr
In reply to: Peter Eisentraut (#2)
Re: pgbench help message fix

On 2/27/14, 12:53 PM, Fabien COELHO wrote:

A very minor fix to "pgbench --help" which is missing the expected
argument for the -t option.

done

Thanks!

--
Fabien.

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers