-
Notifications
You must be signed in to change notification settings - Fork 0
/
semverutil.1
49 lines (49 loc) · 1 KB
/
semverutil.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.TH SEMVERUTIL 1 "9 April 23"
.SH NAME
\fBsemverutil\fP - Semantic version command line utility
.SH SYNOPSIS
\fBsemverutil\fP [ -MNPR ] [+FORMAT]
.SH DESCRIPTION
\fBsemverutil\fP parses semantic version strings from \fBSTDIN\fP and optionally
increments the major, minor, patch or revision. If no options are specified then
\fBsemverutil\fP will output the highest of the semantic version values given
in \fBSTDIN\fP.
.PP
\fBsemverutil\fP includes an extension to the semver standard that allows
revisions - an additional value to the immediate right-hand side of
the core version, separated by an underscore.
.SS Options
.TP
\fB-M\fP
Increment the major version
.TP
\fB-N\fP
Increment the minor version
.TP
\fB-P\fP
Increment the patch version
.TP
\fB-R\fP
Increment the revision
.PP
.SS FORMAT
.TP
This controls the output. Interpreted sequences are:
.TP
%M
The MAJOR component
.TP
%N
The MINOR component
.TP
%P
The PATCH component
.TP
%R
The REVISION component
.TP
%L
The PRE-RELEASE component
.TP
%D
the METADATA component