diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 249fa8f..e2259e6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,6 +4,8 @@ # # Thanks to @neomantra for setup work on this https://github.com/robinovitch61/wander/issues/33 +version: 2 + project_name: wander before: @@ -59,7 +61,7 @@ brews: - name: wander homepage: https://github.com/robinovitch61/wander description: "An efficient terminal application/TUI for interacting with your HashiCorp Nomad cluster." - folder: Formula + directory: Formula commit_author: name: "Leo Robinovitch" email: "leorobinovitch@gmail.com" diff --git a/cmd/exec.go b/cmd/exec.go index d2fcad0..00574da 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -33,7 +33,7 @@ var ( func execEntrypoint(cmd *cobra.Command, args []string) { if len(args) == 0 { - cmd.Help() + _ = cmd.Help() os.Exit(0) }