summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-10-03 12:55:47 +0000
committergdt <gdt@pkgsrc.org>2006-10-03 12:55:47 +0000
commit754626c9aaf16b386eb0b0f4eb537dccf1cd11d1 (patch)
tree654f51fd9ae4fa63d096664065af7bedeccedf3c /geography
parent908de959920dd04312d4879fcca62e62a32009ce (diff)
downloadpkgsrc-754626c9aaf16b386eb0b0f4eb537dccf1cd11d1.tar.gz
invoke help if called with no arguments
Diffstat (limited to 'geography')
-rw-r--r--geography/epsg/files/epsg.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/geography/epsg/files/epsg.sh b/geography/epsg/files/epsg.sh
index 66a891093a8..f1abc551bbc 100644
--- a/geography/epsg/files/epsg.sh
+++ b/geography/epsg/files/epsg.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: epsg.sh,v 1.1 2006/10/03 12:53:44 gdt Exp $
+# $NetBSD: epsg.sh,v 1.2 2006/10/03 12:55:47 gdt Exp $
# epsg - import EPSG data into a relational database
@@ -46,6 +46,10 @@ SRCDIR=${EPSGDIR}
PSQL=${PREFIX}/bin/psql
MYSQL=${PREFIX}/bin/mysql
+if [ $# = 0 ]; then
+ HELP=1
+fi
+
while [ $# -gt 0 ]; do
case $1 in
--help) HELP=1;;