summaryrefslogtreecommitdiffstatshomepage
path: root/doc/man/git-bug-version.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/git-bug-version.1')
-rw-r--r--doc/man/git-bug-version.138
1 files changed, 26 insertions, 12 deletions
diff --git a/doc/man/git-bug-version.1 b/doc/man/git-bug-version.1
index 6b6882216..988849e8a 100644
--- a/doc/man/git-bug-version.1
+++ b/doc/man/git-bug-version.1
@@ -2,38 +2,52 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
-git-bug-version - Show git-bug version information
+git-bug-version - Print version information
.SH SYNOPSIS
-.PP
\fBgit-bug version [flags]\fP
.SH DESCRIPTION
+Print version information.
+
.PP
-Show git-bug version information
+Format:
+ git-bug [commit[/dirty]]
+.PP
+Format Description:
+ may be one of:
+ - A semantic version string, prefixed with a "v", e.g. v1.2.3
+ - "undefined" (if not provided, or built with an invalid version string)
-.SH OPTIONS
.PP
-\fB-n\fP, \fB--number\fP[=false]
- Only show the version number
+[commit], if present, is the commit hash that was checked out during the
+ build. This may be suffixed with '/dirty' if there were local file
+ modifications. This is indicative of your build being patched, or modified in
+ some way from the commit.
.PP
-\fB-c\fP, \fB--commit\fP[=false]
- Only show the commit hash
+ is the version of the go compiler used for the build.
.PP
-\fB-a\fP, \fB--all\fP[=false]
- Show all version information
+ is the target platform (GOOS).
.PP
+ is the target architecture (GOARCH).
+
+
+.SH OPTIONS
\fB-h\fP, \fB--help\fP[=false]
help for version
+.SH EXAMPLE
+.EX
+git bug version
+.EE
+
+
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP