summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/files/wrapper.sh4
-rw-r--r--net-p2p/freenet05/files/wrapper.sh4
2 files changed, 4 insertions, 4 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
diff --git a/net-p2p/freenet05/files/wrapper.sh b/net-p2p/freenet05/files/wrapper.sh
index e03358a34409..7b1a3b3b5659 100644
--- a/net-p2p/freenet05/files/wrapper.sh
+++ b/net-p2p/freenet05/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