You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: main.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import (
10
10
"github.com/urfave/cli"
11
11
)
12
12
13
-
// This variable is set at build time using -ldflags parameters. For example, we typically set this flag in circle.yml
13
+
// VERSION is set at build time using -ldflags parameters. For example, we typically set this flag in circle.yml
14
14
// to the latest Git tag when building our Go apps:
15
15
//
16
16
// build-go-binaries --app-name my-app --dest-path bin --ld-flags "-X main.VERSION=$CIRCLE_TAG"
@@ -42,7 +42,7 @@ func setupApp() *cli.App {
42
42
app:=entrypoint.NewApp()
43
43
entrypoint.HelpTextLineWidth=120
44
44
45
-
// Override the CLI FlagEnvHinter so it only returns the Usage text of the Flag and doesn't apend the envVar text. Original func https://github.com/urfave/cli/blob/master/flag.go#L652
45
+
// Override the CLI FlagEnvHinter, so it only returns the Usage text of the Flag and doesn't append the envVar text. Original func https://github.com/urfave/cli/blob/master/flag.go#L652
0 commit comments