We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81285e3 commit 31b78f9Copy full SHA for 31b78f9
2 files changed
httpclient.go
@@ -12,7 +12,7 @@ type transport struct {
12
}
13
14
func (this *transport) RoundTrip(req *http.Request) (*http.Response, error) {
15
- agent := fmt.Sprintf("ConvertAPI-CLI/%d (%s)", Version, strings.Title(runtime.GOOS))
+ agent := fmt.Sprintf("convertapi-cli%s/%d", strings.Title(runtime.GOOS), Version)
16
req.Header.Add("User-Agent", agent)
17
return this.RoundTripper.RoundTrip(req)
18
main.go
@@ -8,7 +8,7 @@ import (
8
"os"
9
)
10
11
-const Version = 1
+const Version = 2
const Name = "convertapi"
const HelpFlagName = "help"
0 commit comments