aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/freenet
diff options
context:
space:
mode:
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