[jabref] 18/459: * Mentioned startup options in manpage, thanks to LI Daobing (closes: #378190). * Change wrapper script to always pass "-n" if called with "-v" in order to make jabref only print the version number and quit afterwards with "-v". Thanks to LI Daobing (closes: #378189).

gregor herrmann gregoa at debian.org
Thu Sep 15 20:39:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository jabref.

commit 84de53370b40e07d628f8c47c0514abf9bcb4b67
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 14 11:06:41 2006 +0000

    * Mentioned startup options in manpage, thanks to LI Daobing (closes: #378190).
    * Change wrapper script to always pass "-n" if called with "-v" in order
      to make jabref only print the version number and quit afterwards with
      "-v". Thanks to LI Daobing (closes: #378189).
---
 debian/changelog |  6 +++++-
 debian/jabref.1  | 38 ++++++++++++++++++++++++++++++++++++--
 jabref           |  6 +++++-
 3 files changed, 46 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8760ae9..e2216a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 jabref (2.0.1+2.1b2-3) unstable; urgency=low
 
   * Convert debian/copyright to UTF-8.
+  * Mentioned startup options in manpage, thanks to LI Daobing (closes: #378190).
+  * Change wrapper script to always pass "-n" if called with "-v" in order
+    to make jabref only print the version number and quit afterwards with
+    "-v". Thanks to LI Daobing (closes: #378189).
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun,  9 Jul 2006 00:17:44 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 14 Jul 2006 12:58:27 +0200
 
 jabref (2.0.1+2.1b2-2) unstable; urgency=low
 
diff --git a/debian/jabref.1 b/debian/jabref.1
index 9092a08..9974f1f 100644
--- a/debian/jabref.1
+++ b/debian/jabref.1
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH JABREF 1 "September  1, 2005"
+.TH JABREF 1 "July 14, 2006"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -18,7 +18,7 @@
 .SH NAME
 jabref \- graphical frontend to manage BibTeX databases
 .SH SYNOPSIS
-.B jabref
+.B jabref [options] [bibtex\-file]
 .SH DESCRIPTION
 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
 .\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
@@ -28,6 +28,40 @@ standard LaTeX bibliography reference format. JabRef is build to be
 platform independent (requires Java 1.4.2 or newer). It merges and extends
 the functionalities of BibKeeper (Morten O. Alver) and JBibtexManager
 (Nizar Batada)
+.SH OPTIONS
+.TP
+\fB\-a\fR, \fB\-\-aux\fR=<STRING>
+Subdatabase from aux: file[.aux],new[.bib]
+.TP
+\fB\-o\fR, \fB\-\-output\fR=<STRING>
+Output or export file: filename[,export format]
+.TP
+\fB\-x\fR, \fB\-\-prexp\fR=<STRING>
+Export preferences to file
+.TP
+\fB\-i\fR, \fB\-\-import\fR=<STRING>
+Import file: filename[,import format]
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Displays version information.
+.TP
+\fB\-\-importToOpen\fR=<STRING>
+Import to open tab
+.TP
+\fB\-b\fR, \fB\-\-blank\fR=<BOOLEAN>
+Do not open any files at startup
+.TP
+\fB\-p\fR, \fB\-\-primp\fR=<STRING>
+Import preferences from file
+.TP
+\fB\-h\fR, \fB\-\-help\fR=<BOOLEAN>
+Display help on command line options
+.TP
+\fB\-n\fR, \fB\-\-nogui\fR=<BOOLEAN>
+No GUI. Only process command line options.
+.TP
+\fB\-l\fR, \fB\-\-loads\fR=<BOOLEAN>
+Load session
 .SH SEE ALSO
 the included help
 .br
diff --git a/jabref b/jabref
index f9a96c3..c2c2548 100644
--- 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git



More information about the pkg-java-commits mailing list