diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-09-19 12:34:24 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-09-19 13:32:02 +0200 |
commit | 0a1703c85e779d668e7d262b6a906ec33e44278f (patch) | |
tree | 7cf17be1203d420d2d9fc81dd921e8040c22b24f /postgresql-check-db-dir.in | |
parent | 50e8e2cef1d5e12dd18e6f2a598dc85393077d4d (diff) | |
download | postgresql-setup-0a1703c85e779d668e7d262b6a906ec33e44278f.tar.gz postgresql-setup-0a1703c85e779d668e7d262b6a906ec33e44278f.tar.xz postgresql-setup-0a1703c85e779d668e7d262b6a906ec33e44278f.zip |
docs: adjust --help output and warning hints
* postgresql-check-db-dir.in: Just fix typos.
* postgresql-setup.in: Reorganize --help.
* TODO: Adjust after some time.
Diffstat (limited to 'postgresql-check-db-dir.in')
-rw-r--r-- | postgresql-check-db-dir.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/postgresql-check-db-dir.in b/postgresql-check-db-dir.in index 188c7de..2d19a1b 100644 --- a/postgresql-check-db-dir.in +++ b/postgresql-check-db-dir.in @@ -17,7 +17,7 @@ service_name="$1" if [ -z "$PGDATA" ]; then echo $"You try to start '$service_name' service" echo $"but the required \$PGDATA environment variable is not set." - echo $"You should use the @userunitsdir@/$service_name.d/ANYTHING.conf" + echo $"You should use the @userunitsdir@/$service_name.service.d/ANYTHING.conf" echo $"configuration file to set \$PGDATA. For more info see" echo $"the @README_DIST@ file." @@ -58,7 +58,7 @@ then elif [ x`cat "$PGDATA/PG_VERSION"` = x"$PREVMAJORVERSION" ] then echo $"An old version of the database format was found." - echo $"Use \"postgresql-setup upgrade\" to upgrade to version $PGMAJORVERSION." + echo $"Use \"postgresql-setup --upgrade\" to upgrade to version $PGMAJORVERSION." echo $"See $PGDOCDIR/README.rpm-dist for more information." exit 1 else @@ -70,7 +70,7 @@ then else # No existing PGDATA! Warn the user to initdb it. echo $"\"$PGDATA\" is missing or empty." - echo $"Use \"postgresql-setup initdb\" to initialize the database cluster." + echo $"Use \"postgresql-setup --initdb\" to initialize the database cluster." echo $"See $PGDOCDIR/README.rpm-dist for more information." exit 1 fi |