Verified Commit 57a6df37 authored by Steve Azzopardi's avatar Steve Azzopardi
Browse files

Move Author name and email to cli author

AuthorEmail and AuthorName arent't being displayed which resulted into
dead code. Use the official author fields available in `urfave/cli`.
parent 3b60933c
......@@ -14,6 +14,7 @@ func main() {
app.Usage = "Set of commands to debug TLS certificates for GitLab Runner."
app.Description = "Set of commands to debug TLS certificates for GitLab Runner."
app.Version = Version().ShortLine()
app.Author = "GitLab Inc. <support@gitlab.com>"
cli.VersionPrinter = func(_ *cli.Context) {
fmt.Print(Version().Extended())
......
......@@ -12,9 +12,6 @@ var (
REVISION = "HEAD"
BRANCH = "HEAD"
BUILT = "now"
AuthorName = "GitLab Inc."
AuthorEmail = "support@gitlab.com"
)
type VersionInfo struct {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment