Skip to content

Commit

Permalink
Print help (and version) to stdout (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Jan 7, 2021
1 parent b4f3f13 commit 847d8fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import (

func main() {
c := &cli.CLI{
Name: "terraform-ls",
Version: VersionString(),
Args: os.Args[1:],
Name: "terraform-ls",
Version: VersionString(),
Args: os.Args[1:],
HelpWriter: os.Stdout,
}

ui := &cli.ColoredUi{
Expand Down

0 comments on commit 847d8fc

Please sign in to comment.