Skip to content

Commit

Permalink
Fail more gracefully on unknown flags #24
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinmm80 committed Feb 29, 2016
1 parent a6d5fbf commit 196dba9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# unreleased

# v0.3.3
* Now fails more gracefully on unknown flags

# v0.3.2
* `@SUMMONENVFILE` is now ensured to contain a trailing newline [GH-22](https://github.com/conjurinc/summon/issues/22)

Expand Down
8 changes: 7 additions & 1 deletion main.go
@@ -1,7 +1,13 @@
package main

import (
"fmt"
"os"
)

func main() {
if err := RunCLI(); err != nil {
panic(err)
fmt.Println(err.Error())
os.Exit(-1)
}
}
2 changes: 1 addition & 1 deletion version.go
@@ -1,3 +1,3 @@
package main

const VERSION = "0.3.2"
const VERSION = "0.3.3"

0 comments on commit 196dba9

Please sign in to comment.