From d23f7165ab23894b17831d4a58c5e4ed5d68aab5 Mon Sep 17 00:00:00 2001 From: Marc Nause Date: Wed, 25 Feb 2015 21:11:59 +0100 Subject: [PATCH] Next try to fix start script for OpenBSD. --- startYACY.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startYACY.sh b/startYACY.sh index f9af34de7..bacf6c649 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -38,7 +38,7 @@ Options -l, --logging save the output of YaCy to yacy.log -d, --debug show the output of YaCy on the console -p, --print-out only print the command, which would be executed to start YaCy - -g, --gui start a gui for YaCy + -g, --gui start a gui for YaCy USAGE } @@ -52,7 +52,7 @@ then echo "WARNING: Unfortunately this script does not support long options in $OS." fi - options="`getopt -n YaCy -o h,d,l,p,t,g -- $@`" + options="`getopt hdlptg: $*`" else options="`getopt -n YaCy -o h,d,l,p,t,g -l help,debug,logging,print-out,tail-log,gui -- $@`" fi