summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/option.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-07-12 07:13:51 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-07-12 07:13:51 +0300
commit912bc4f038b3daaea4477c4b4e79fbd8c15e67a0 (patch)
tree3abbc8e1ae427b65afc1566f63b31d88c41826d2 /contrib/pg_upgrade/option.c
parentafc9635c600ace716294a12d78abd37f65abd0ea (diff)
Make pg_upgrade output more consistent with project style
Add errno-based output to error messages where appropriate, reformat blocks to about 72 characters per line, use spaces instead of tabs for indentation, and other style adjustments.
Diffstat (limited to 'contrib/pg_upgrade/option.c')
-rw-r--r--contrib/pg_upgrade/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c
index d29aad0e1dd..1793bb320e8 100644
--- a/contrib/pg_upgrade/option.c
+++ b/contrib/pg_upgrade/option.c
@@ -294,8 +294,8 @@ check_required_directory(char **dirpath, char *envVarName,
if ((envVar = getenv(envVarName)) && strlen(envVar))
*dirpath = pg_strdup(envVar);
else
- pg_log(PG_FATAL, "You must identify the directory where the %s\n"
- "Please use the %s command-line option or the %s environment variable\n",
+ pg_log(PG_FATAL, "You must identify the directory where the %s.\n"
+ "Please use the %s command-line option or the %s environment variable.\n",
description, cmdLineOption, envVarName);
}