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 b750c437a9
commit 340df4484b

View file

@ -52,9 +52,15 @@ case $1 in
stop stop
start start
;; ;;
help|--help) help|--help|-h)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help 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}" echo "Usage: sparkleshare {start|stop|restart|help}"
;; ;;