diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-02-12 04:04:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-02-12 04:04:32 +0000 |
commit | 0f57851e31de05a3fcf1d44cd29995601d761778 (patch) | |
tree | ccbdd5166ac1ec65c5876a1ac743823576cc99b5 /src/bin/psql/help.c | |
parent | 3884ede663c13850ae6a74544f7165f5dc1a0b0a (diff) |
Add psql option:
-1 or --single-transaction
Simon Riggs
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index fb5faca9c3f..0a1ecdb0471 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.108 2006/02/12 02:54:30 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.109 2006/02/12 04:04:32 momjian Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -93,6 +93,7 @@ usage(void) printf(_(" -d DBNAME specify database name to connect to (default: \"%s\")\n"), env); puts(_(" -c COMMAND run only single command (SQL or internal) and exit")); puts(_(" -f FILENAME execute commands from file, then exit")); + puts(_(" -1 (numeral) execute command file as a single transaction")); puts(_(" -l list available databases, then exit")); puts(_(" -v NAME=VALUE set psql variable NAME to VALUE")); puts(_(" -X do not read startup file (~/.psqlrc)")); |