Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a84723

Browse files
author
Neil Conway
committed
Minor tweak to pg_controldata usage information, per suggestion from
Dennis Björklund. Also, remove some redundant #include directives.
1 parentbca0383 commit6a84723

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎src/bin/pg_controldata/pg_controldata.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
* copyright (c) Oliver Elphick <olly@lfix.co.uk>, 2001;
77
* licence: BSD
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.19 2004/08/29 05:06:53 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.20 2004/09/23 00:47:44 neilc Exp $
1010
*/
1111
#include"postgres.h"
1212

1313
#include<unistd.h>
1414
#include<time.h>
1515
#include<sys/stat.h>
1616
#include<fcntl.h>
17-
#include<locale.h>
18-
#include<errno.h>
1917

2018
#include"catalog/pg_control.h"
2119

@@ -30,15 +28,15 @@ usage(const char *progname)
3028
(
3129
_(
3230
"Usage:\n"
33-
" %s [OPTION]\n\n"
31+
" %s [OPTION] [DATADIR]\n\n"
3432
"Options:\n"
35-
" DATADIR show cluster control information for DATADIR\n"
3633
" --help show this help, then exit\n"
3734
" --version output version information, then exit\n"
3835
),
3936
progname
4037
);
41-
printf(_("\nIf no data directory is specified, the environment variable PGDATA\nis used.\n\n"));
38+
printf(_("\nIf no data directory (DATADIR) is specified, "
39+
"the environment variable PGDATA\nis used.\n\n"));
4240
printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));
4341
}
4442

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp