diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 19:31:33 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 19:31:33 +0000 |
commit | 232724af0d4b8077a48cdf370bdb343b299803ed (patch) | |
tree | 677520a61125bfa42a72735d7f99e21ae541f38a /src/bin/psql/help.c | |
parent | ab420e21142825a72a63ac45e8fca62f8ed8b00a (diff) | |
download | postgresql-232724af0d4b8077a48cdf370bdb343b299803ed.tar.gz postgresql-232724af0d4b8077a48cdf370bdb343b299803ed.zip |
Add \cd command to psql.
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 10392766512..d5f15b5ba77 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.37 2001/03/22 04:00:20 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.38 2001/05/07 19:31:33 petere Exp $ */ #include "postgres_fe.h" #include "help.h" @@ -196,6 +196,7 @@ slashUsage(void) fprintf(fout, " \\c[onnect] [dbname|- [user]]\n" " connect to new database (currently '%s')\n", PQdb(pset.db)); fprintf(fout, " \\C <title> table title\n"); + fprintf(fout, " \\cd [<dir>] change the current working directory\n"); fprintf(fout, " \\copy ... perform SQL COPY with data stream to the client machine\n"); fprintf(fout, " \\copyright show PostgreSQL usage and distribution terms\n"); fprintf(fout, " \\d <table> describe table (or view, index, sequence)\n"); |