Exits after showing help

This commit is contained in:
Robert Rothenberg 2011-03-17 10:02:22 +00:00
parent 9498c4259f
commit 588de03313

4
trash
View File

@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
version="0.3.0 \$Id: trash 2011/03/17 09:58:28 GMT rr@dwaible $"
version="0.3.0 \$Id: trash 2011/03/17 10:01:16 GMT rr@dwaible $"
function show_usage {
cat << EOU
@ -49,7 +49,7 @@ verbose=""
while [ $# -gt 0 ]
do
case $1 in
-h|--help) show_usage ;;
-h|--help) show_usage ; exit 1;;
-v|--verbose) verbose="-v" ;;
--version) echo "$0 $version" 1>&2;;
(--) shift; break;;