Skip to content

Loading…

fixed -f flag #104

Merged
merged 1 commit into from

2 participants

@ceocoder

No description provided.

@tjake tjake merged commit c1bc386 into tjake:solandra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 16, 2011
  1. @ceocoder

    fixed -f flag

    ceocoder committed
Showing with 7 additions and 2 deletions.
  1. +7 −2 resources/cassandra/solandra
View
9 resources/cassandra/solandra
@@ -130,7 +130,7 @@ launch_service()
}
# Parse any command line options.
-args=`getopt vhp:cbD: "$@"`
+args=`getopt vfhp:cbD: "$@"`
eval set -- "$args"
classname="solandra.SolandraServer"
@@ -141,9 +141,14 @@ while true; do
pidfile="$2"
shift 2
;;
+ -f)
+ foreground="yes"
+ shift
+ ;;
-h)
- echo "Usage: $0 [-h] [-c] [-p pidfile]"
+ echo "Usage: $0 [-h] [-f] [-c] [-p pidfile]"
echo " -v : print cassandra version"
+ echo " -f : starts solandra in foreground"
echo " -h : prints this help message"
echo " -c : starts solandra in client mode"
exit 0
Something went wrong with that request. Please try again.