|
@@ -92,13 +92,13 @@ func main() {
|
|
p12FileFlag = flag.String("p12-file", "", "")
|
|
p12FileFlag = flag.String("p12-file", "", "")
|
|
)
|
|
)
|
|
flag.Usage = func() {
|
|
flag.Usage = func() {
|
|
- fmt.Fprintf(flag.CommandLine.Output(), shortUsage)
|
|
|
|
|
|
+ fmt.Fprint(flag.CommandLine.Output(), shortUsage)
|
|
fmt.Fprintln(flag.CommandLine.Output(), `For more options, run "mkcert -help".`)
|
|
fmt.Fprintln(flag.CommandLine.Output(), `For more options, run "mkcert -help".`)
|
|
}
|
|
}
|
|
flag.Parse()
|
|
flag.Parse()
|
|
if *helpFlag {
|
|
if *helpFlag {
|
|
- fmt.Fprintf(flag.CommandLine.Output(), shortUsage)
|
|
|
|
- fmt.Fprintf(flag.CommandLine.Output(), advancedUsage)
|
|
|
|
|
|
+ fmt.Fprint(flag.CommandLine.Output(), shortUsage)
|
|
|
|
+ fmt.Fprint(flag.CommandLine.Output(), advancedUsage)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if *carootFlag {
|
|
if *carootFlag {
|