From: <hb...@us...> - 2009-09-24 14:22:31
|
Revision: 2522 http://gpsdrive.svn.sourceforge.net/gpsdrive/?rev=2522&view=rev Author: hbowman Date: 2009-09-24 14:22:13 +0000 (Thu, 24 Sep 2009) Log Message: ----------- displaying usage is not an error, so exit cleanly Modified Paths: -------------- trunk/scripts/geocache2way.pl trunk/scripts/gpsd_nmea.sh trunk/scripts/nasaconv.sh Modified: trunk/scripts/geocache2way.pl =================================================================== --- trunk/scripts/geocache2way.pl 2009-09-24 14:20:11 UTC (rev 2521) +++ trunk/scripts/geocache2way.pl 2009-09-24 14:22:13 UTC (rev 2522) @@ -81,5 +81,5 @@ -h | --help = This usage screen EOP - exit (1); + exit (0); } Modified: trunk/scripts/gpsd_nmea.sh =================================================================== --- trunk/scripts/gpsd_nmea.sh 2009-09-24 14:20:11 UTC (rev 2521) +++ trunk/scripts/gpsd_nmea.sh 2009-09-24 14:22:13 UTC (rev 2522) @@ -6,7 +6,7 @@ echo " SiRF binary protocol. Note this may not be needed, as modern" echo " versions of Gpsd output pseudo-NMEA sentences when the client" echo " requests 'R' raw-mode." - exit 1 + exit 0 fi echo "Switching the GPS connected to the local Gpsd into NMEA Mode ..." Modified: trunk/scripts/nasaconv.sh =================================================================== --- trunk/scripts/nasaconv.sh 2009-09-24 14:20:11 UTC (rev 2521) +++ trunk/scripts/nasaconv.sh 2009-09-24 14:22:13 UTC (rev 2522) @@ -3,7 +3,7 @@ if echo "$@" | grep -q -e '--help' ; then echo "This is an example script to convert raw Nasa Maps into GeoTIFFs" echo "See the README.nasamaps file that comes with the GpsDrive documentation" - exit 1 + exit 0 fi # Better: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |