path: root/man
diff options
authorBenjamin Drung <>2010-01-08 19:06:09 +0100
committerBenjamin Drung <>2010-01-08 19:06:09 +0100
commite0c4fd1e416c60ebc07f441f7e6ff7b7feec9e4e (patch)
treeaa1f120c665c782d4a6e0b60604ad3df0f228ce1 /man
parent4659a9734b357d1918bdd831a3974cbb041cd7a3 (diff)
* moz-version:
- Add parameter for converting Mozilla versions into Debian upstream versions and the other way round. - update man/moz-version.1 - update src/ - update src/moz-version
Diffstat (limited to 'man')
1 files changed, 14 insertions, 5 deletions
diff --git a/man/moz-version.1 b/man/moz-version.1
index bd820fd..7eb68d6 100644
--- a/man/moz-version.1
+++ b/man/moz-version.1
@@ -23,18 +23,27 @@ moz-version \- version format handling tool
.B moz-version
-\fI--compare ver1 comparator ver2\fR
.B moz-version
is a tool for working with version string from the Mozilla suite.
-Currently it can only compare versions.
+It can compare Mozilla versions, convert Mozilla version into Debian upstream
+version and the other way round.
-.B \-\-compare \fIver1 comparator ver2\fP
+\fB\-c\fR, \fB\-\-compare\fR \fIversion1 comparator version2\fP
Compare version numbers, where \fIcomparator\fP is a binary operator.
\fBmoz-version\fP returns success (zero result) if the specified condition is
-satisfied, and failure (nonzero result) otherwise. The comparator must be one of
-\fBlt le eq ne ge gt\fP.
+satisfied, and failure (non-zero result) otherwise. The comparator must be one
+of \fBlt le eq ne ge gt\fP.
+\fB\-d\fR, \fB\-\-to\-deb\fR \fIversion\fP
+Converts Mozilla \fIversion\fP into a Debian upstream version. For a full
+Debian version you have to add a revision.
+\fB\-m\fR, \fB\-\-to\-moz\fR \fIversion\fP
+Converts Debian \fIversion\fP into a Mozilla version. The Debian revision and
+the epoch will be stripped away.
\fB\-h\fR, \fB\-\-help\fR