]> granicus.if.org Git - postgresql/commitdiff
Improve usage message for pgindent.
authorBruce Momjian <bruce@momjian.us>
Wed, 16 Jan 2008 20:13:44 +0000 (20:13 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 16 Jan 2008 20:13:44 +0000 (20:13 +0000)
src/tools/pgindent/pgindent

index b93b413421793c789e0b79fbe21f28c8a0fe342b..ab8884db5e2bd36deefaf3ac3e60d30c4a6dc787 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.97 2007/12/21 14:20:36 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.98 2008/01/16 20:13:44 momjian Exp $
 
 # Known bugs:
 #
@@ -9,7 +9,7 @@
 #      y = (int) x *y;
 
 if [ "$#" -lt 2 ]
-then   echo "Usage:  $0 typedefs file [...]" 1>&2
+then   echo "Usage:  `basename $0` typedefs file [...]" 1>&2
        exit 1
 fi