Fixing '-v|--version', '-d|--disable-gui', '-h' (issue 162 from hbons)
This commit is contained in:
parent
b750c437a9
commit
340df4484b
|
@ -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}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue