aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-11-25 19:05:44 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-11-25 19:05:44 +0000
commitfc6603ff75eb22c3ae9ba9d3ecde552cf06807cd (patch)
tree831b3e0aef01762ffb703eb1ed9dd1a93a5763d1 /src/bin/scripts
parentc25b4dbf03a9b9e5bf79f2f7e2bcdcd9dc6263b9 (diff)
downloadpostgresql-fc6603ff75eb22c3ae9ba9d3ecde552cf06807cd.tar.gz
postgresql-fc6603ff75eb22c3ae9ba9d3ecde552cf06807cd.zip
Advertise --help (rather than '-?') as help option (problems with csh).
Accept --help even if no general long options support exists.
Diffstat (limited to 'src/bin/scripts')
-rw-r--r--src/bin/scripts/createdb4
-rw-r--r--src/bin/scripts/createlang.sh4
-rw-r--r--src/bin/scripts/createuser4
-rw-r--r--src/bin/scripts/dropdb4
-rw-r--r--src/bin/scripts/droplang4
-rw-r--r--src/bin/scripts/dropuser4
-rw-r--r--src/bin/scripts/vacuumdb4
7 files changed, 14 insertions, 14 deletions
diff --git a/src/bin/scripts/createdb b/src/bin/scripts/createdb
index e506af5885c..3937b619138 100644
--- a/src/bin/scripts/createdb
+++ b/src/bin/scripts/createdb
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.11 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.12 2000/11/25 19:05:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -89,7 +89,7 @@ do
;;
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/createlang.sh b/src/bin/scripts/createlang.sh
index 02c27aaf90b..db4189bd072 100644
--- a/src/bin/scripts/createlang.sh
+++ b/src/bin/scripts/createlang.sh
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.20 2000/11/20 20:36:50 tgl Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.21 2000/11/25 19:05:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -99,7 +99,7 @@ do
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/createuser b/src/bin/scripts/createuser
index e3859eb2a75..37a76368055 100644
--- a/src/bin/scripts/createuser
+++ b/src/bin/scripts/createuser
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.14 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.15 2000/11/25 19:05:44 petere Exp $
#
# Note - this should NOT be setuid.
#
@@ -110,7 +110,7 @@ do
;;
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/dropdb b/src/bin/scripts/dropdb
index 35bb08a71af..a3db4babe32 100644
--- a/src/bin/scripts/dropdb
+++ b/src/bin/scripts/dropdb
@@ -10,7 +10,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.9 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.10 2000/11/25 19:05:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -83,7 +83,7 @@ do
;;
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/droplang b/src/bin/scripts/droplang
index 023ae4fc996..43154b2e7d8 100644
--- a/src/bin/scripts/droplang
+++ b/src/bin/scripts/droplang
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.10 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.11 2000/11/25 19:05:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -89,7 +89,7 @@ do
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/dropuser b/src/bin/scripts/dropuser
index e7be5dc867a..21e71d87058 100644
--- a/src/bin/scripts/dropuser
+++ b/src/bin/scripts/dropuser
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.9 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.10 2000/11/25 19:05:44 petere Exp $
#
# Note - this should NOT be setuid.
#
@@ -85,7 +85,7 @@ do
;;
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)
diff --git a/src/bin/scripts/vacuumdb b/src/bin/scripts/vacuumdb
index 0981f31e72c..9b310327a1f 100644
--- a/src/bin/scripts/vacuumdb
+++ b/src/bin/scripts/vacuumdb
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.12 2000/11/13 23:37:53 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.13 2000/11/25 19:05:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -102,7 +102,7 @@ do
-*)
echo "$CMDNAME: invalid option: $1" 1>&2
- echo "Try '$CMDNAME -?' for help." 1>&2
+ echo "Try '$CMDNAME --help' for more information." 1>&2
exit 1
;;
*)