Skip to content

Conversation

@tuladhar
Copy link
Contributor

@tuladhar tuladhar commented May 2, 2016

No description provided.

@paveljanik
Copy link
Contributor

Looks much better, ACK 9a8a7d0

No need to open new PR next time :-)

@laanwj
Copy link
Member

laanwj commented May 4, 2016

Trivially correct ACK 9a8a7d0

@laanwj laanwj merged commit 9a8a7d0 into bitcoin:master May 4, 2016
laanwj added a commit that referenced this pull request May 4, 2016
9a8a7d0 bitcoin-cli.cpp: Use symbolic constant for exit code (Puru)
@maflcko
Copy link
Member

maflcko commented May 4, 2016

I think the motivation for this change was https://stackoverflow.com/questions/461449/return-statement-vs-exit-in-main , so the commit message would be still "wrong".

But the code looks good. utACK 9a8a7d0

@laanwj
Copy link
Member

laanwj commented May 4, 2016

It's no less wrong or right, IMO, but it harmonizes the function a bit - all of the other exits from main() use return EXIT_FAILURE.

@tuladhar tuladhar deleted the patch-2 branch May 4, 2016 13:26
@tuladhar
Copy link
Contributor Author

tuladhar commented May 4, 2016

@laanwj Thanks for the merge!

@tuladhar tuladhar restored the patch-2 branch October 2, 2016 13:55
zkbot added a commit to zcash/zcash that referenced this pull request Apr 13, 2018
CLI binary improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#5936
- bitcoin/bitcoin#7550
- bitcoin/bitcoin#7989
- bitcoin/bitcoin#7957
- bitcoin/bitcoin#9067
- bitcoin/bitcoin#9220

Excludes any changes that affected the QT code.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants