Skip to content

Commit

Permalink
Merge pull request #145 from gcash/fix-help
Browse files Browse the repository at this point in the history
[Bug] Fix double printed help
  • Loading branch information
cpacia committed Nov 18, 2018
2 parents 2b0f7d3 + 806c536 commit b89fafa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion bchd.go
Expand Up @@ -329,7 +329,6 @@ func main() {

// Work around defer not working after os.Exit()
if err := bchdMain(nil); err != nil {
fmt.Fprintf(os.Stderr, "error running node: %v\n", err)
os.Exit(1)
}
}
1 change: 1 addition & 0 deletions config.go
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/gcash/bchd/peer"
"github.com/gcash/bchd/version"
"github.com/gcash/bchutil"

flags "github.com/jessevdk/go-flags"
)

Expand Down

0 comments on commit b89fafa

Please sign in to comment.