Skip to content

Commit

Permalink
fix tkctl log output exception (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlymellb committed Aug 21, 2019
1 parent e17d281 commit 74d9755
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/tkctl/main.go
Expand Up @@ -14,6 +14,7 @@
package main

import (
"flag"
"fmt"
"os"

Expand All @@ -25,7 +26,8 @@ import (
)

func main() {
flags := pflag.NewFlagSet("tkc", pflag.ExitOnError)
flags := pflag.NewFlagSet("tkctl", pflag.ExitOnError)
flag.CommandLine.Parse([]string{})
pflag.CommandLine = flags

command := cmd.NewTkcCommand(genericclioptions.IOStreams{In: os.Stdin, Out: os.Stdout, ErrOut: os.Stderr})
Expand Down

0 comments on commit 74d9755

Please sign in to comment.