Skip to content

Commit

Permalink
fix tkctl log output exception (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored and onlymellb committed Aug 22, 2019
1 parent 8b06c11 commit 2fbf805
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/tkctl/main.go
Original file line number Diff line number Diff line change
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 2fbf805

Please sign in to comment.