Skip to content

Commit

Permalink
fix go vet error
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Mar 7, 2024
1 parent f7e297f commit 4e38ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"flag"
"fmt"
"io"
"net/url"
"os"

Expand Down Expand Up @@ -73,7 +74,7 @@ func parseArgs() {
flag.Usage = func() {
out := flag.CommandLine.Output()
fmt.Fprintf(out, "Usage of %s (%s):\n", os.Args[0], installer.PkgVersion)
fmt.Fprint(out, UsageText)
io.WriteString(out, UsageText)
fmt.Fprintln(out, "Flags:")
fmt.Fprintln(out, " -h, -help")
fmt.Fprintln(out, " Show this help page")
Expand Down

0 comments on commit 4e38ddf

Please sign in to comment.