* Mention startup options in manpage, thanks to LI Daobing (closes: #378190).
[debian/jabref.git] / jabref
diff --git a/jabref b/jabref
index f9a96c334691380861d33700e74d85211fdb0d0e..c2c254864cc38088602eb292dc0e12fbb809b111 100644 (file)
--- a/jabref
+++ b/jabref
@@ -1,3 +1,7 @@
 #!/bin/sh
 
-java -jar /usr/share/java/jabref.jar "$@"
+if echo "$@" | grep -q "\-v" - ; then
+       EXTRA="-n"
+fi
+
+java -jar /usr/share/java/jabref.jar "$@" "$EXTRA"