From ebb88e3ba5f711ed3367d0638b0b0bf30e6d8001 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Fri, 26 May 2000 02:07:15 +0000
Subject: Fix initlocation syntax example for createdb
---
doc/src/sgml/ref/initlocation.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/initlocation.sgml b/doc/src/sgml/ref/initlocation.sgml
index fa86a4041e6..92b57502ef6 100644
--- a/doc/src/sgml/ref/initlocation.sgml
+++ b/doc/src/sgml/ref/initlocation.sgml
@@ -1,5 +1,5 @@
@@ -96,7 +96,7 @@ initlocation directory
$ export PGDATA2=/opt/postgres/data
$ initlocation PGDATA2
-$ createdb 'testdb' -D 'PGDATA2'
+$ createdb -D 'PGDATA2' 'testdb'
@@ -104,7 +104,7 @@ $ createdb 'testdb' -D 'PGDATA2'
Alternatively, if you allow absolute paths you could write:
$ initlocation /opt/postgres/data
-$ createdb testdb -D '/opt/postgres/data/testdb'
+$ createdb -D '/opt/postgres/data/testdb' testdb
--
cgit v1.2.3