Skip to content

Commit

Permalink
Change Run method to RunAndExitOnError
Browse files Browse the repository at this point in the history
  • Loading branch information
ngratin committed Aug 18, 2017
1 parent 4ed904a commit ebcfe5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"fmt"
"io"
"os"
"sort"
"strings"

Expand Down Expand Up @@ -124,7 +123,7 @@ func main() {

sort.Sort(cli.FlagsByName(app.Flags))

app.Run(os.Args)
app.RunAndExitOnError()
}

// FatalWriter just initiaizes cliErrWriter
Expand Down

0 comments on commit ebcfe5a

Please sign in to comment.