[tor-commits] [torbrowser/maint-2.2] [Linux] Exit successfully when run with the --help option
erinn at torproject.org
erinn at torproject.org
Sun Oct 23 23:18:57 UTC 2011
commit 71a997097d59f85d6a02a50e620092f92a684728
Author: Robert Ransom <rransom.8774 at gmail.com>
Date: Fri Aug 26 04:55:19 2011 -0400
[Linux] Exit successfully when run with the --help option
---
src/RelativeLink/RelativeLink.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/RelativeLink/RelativeLink.sh b/src/RelativeLink/RelativeLink.sh
index 04d91fa..248750e 100755
--- a/src/RelativeLink/RelativeLink.sh
+++ b/src/RelativeLink/RelativeLink.sh
@@ -119,7 +119,7 @@ if [ "$#" -eq 1 -a \( "x$1" = "x--debug" -o "x$1" = "x-debug" \) ]; then
printf "\nDebug enabled.\n\n"
elif [ "$#" -eq 1 -a \( "x$1" = "x--help" -o "x$1" = "x-help" \) ]; then
echo "$usage_message"
- exit 1
+ exit 0
elif [ "$#" -ne 0 ]; then
complain "$usage_message"
exit 1
More information about the tor-commits
mailing list