diff options
author | lioux <lioux@FreeBSD.org> | 2004-03-12 09:02:48 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-03-12 09:02:48 +0800 |
commit | 27bec54ca8026b758d97af446f17428f9fb14809 (patch) | |
tree | d91bfda38f654cc155cad02774c9dd3afcc80218 /net/freenet | |
parent | 664fff4f4c3ec9410db9e31ba369dc99a159885a (diff) | |
download | freebsd-ports-gnome-27bec54ca8026b758d97af446f17428f9fb14809.tar.gz freebsd-ports-gnome-27bec54ca8026b758d97af446f17428f9fb14809.tar.zst freebsd-ports-gnome-27bec54ca8026b758d97af446f17428f9fb14809.zip |
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/freenet')
-rw-r--r-- | net/freenet/files/wrapper.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/freenet/files/wrapper.sh b/net/freenet/files/wrapper.sh index e03358a34409..7b1a3b3b5659 100644 --- a/net/freenet/files/wrapper.sh +++ b/net/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 |