summaryrefslogtreecommitdiff
path: root/net-p2p/freenet
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-03-12 01:02:48 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-03-12 01:02:48 +0000
commit23c535674b81c2345b03f892d1a00b63770b3843 (patch)
treeadc5b81d5fcf341b53529aae4d7be77105d8362a /net-p2p/freenet
parentfix patch when perl <= 5.6.0 (diff)
o Recognize '-c' command line argument
o Advertise it in help as well PR: 63353 Submitted by: Stefan Walter <sw@gegenunendlich.de>
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/files/wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/freenet/files/wrapper.sh b/net-p2p/freenet/files/wrapper.sh
index e03358a34409..7b1a3b3b5659 100644
--- a/net-p2p/freenet/files/wrapper.sh
+++ b/net-p2p/freenet/files/wrapper.sh
@@ -31,7 +31,7 @@ configure_java_classpath () {
}
display_usage () {
- echo "Usage: ${0} [-h] [-i|-o]"
+ echo "Usage: ${0} [-h] [-c] [-i|-o]"
echo 'Options:'
echo ' -h Display this help message'
echo ' -c Configure FreeNet node'
@@ -114,7 +114,7 @@ if [ $# -lt 1 ]; then
fi
# parse command line parameters
-while getopts ":io" COMMAND_LINE_ARGUMENT ; do
+while getopts "chio" COMMAND_LINE_ARGUMENT ; do
case "${COMMAND_LINE_ARGUMENT}" in
c)
CONFIGURE=yes