We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f3cfd commit 56ec589Copy full SHA for 56ec589
cmd/youtubeuploader/main.go
@@ -45,6 +45,9 @@ func (i *arrayFlags) Set(value string) error {
45
return nil
46
}
47
48
+// this is set at compile time to match git tag
49
+var appVersion string = "unknown"
50
+
51
func main() {
52
53
var err error
@@ -73,9 +76,6 @@ func main() {
73
76
debug := flag.Bool("debug", false, "turn on verbose log output")
74
77
sendFileName := flag.Bool("sendFilename", true, "send original file name to YouTube")
75
78
- // this is set by compile-time to match git tag
- appVersion := "unknown"
-
79
flag.Parse()
80
config := yt.Config{
81
Filename: *filename,
0 commit comments