Fixing '-v|--version', '-d|--disable-gui', '-h' (issue 162 from hbons)

This commit is contained in:
Wizard_85 2011-05-07 11:27:41 +02:00
parent bd274e50e1
commit 76681e900f

View file

@ -52,9 +52,15 @@ case $1 in
stop
start
;;
help|--help)
help|--help|-h)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help
;;
-d|--disable-gui)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --disable-gui
;;
-v|--version)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --version
;;
*)
echo "Usage: sparkleshare {start|stop|restart|help}"
;;