diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-12 07:13:51 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-12 07:13:51 +0300 |
commit | 912bc4f038b3daaea4477c4b4e79fbd8c15e67a0 (patch) | |
tree | 3abbc8e1ae427b65afc1566f63b31d88c41826d2 /contrib/pg_upgrade/option.c | |
parent | afc9635c600ace716294a12d78abd37f65abd0ea (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.c | 4 |
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); } |