diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-12 16:42:41 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-12 16:42:55 +0200 |
| commit | fe1f41728755851dfc000bdb99fce91bc7f24b8d (patch) | |
| tree | a7bc4c720a442bdcbc1c41fb84b13e2058cf0070 /src/qt/bitcoin.cpp | |
| parent | Remove -beta suffix (diff) | |
| parent | qt: Unify AboutDialog and HelpMessageDialog (diff) | |
| download | discoin-fe1f41728755851dfc000bdb99fce91bc7f24b8d.tar.xz discoin-fe1f41728755851dfc000bdb99fce91bc7f24b8d.zip | |
Merge pull request #4281
5c97aae qt: Unify AboutDialog and HelpMessageDialog (Wladimir J. van der Laan)
45615af Add 'about' information to `-version` output (Wladimir J. van der Laan)
97789d3 util: Add function FormatParagraph to format paragraph to fixed-width (Wladimir J. van der Laan)
96b733e Add `-version` option to get just the version (Wladimir J. van der Laan)
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 2be8191eb..387f6ede4 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -503,9 +503,9 @@ int main(int argc, char *argv[]) // Show help message immediately after parsing command-line options (for "-lang") and setting locale, // but before showing splash screen. - if (mapArgs.count("-?") || mapArgs.count("--help")) + if (mapArgs.count("-?") || mapArgs.count("-help") || mapArgs.count("-version")) { - HelpMessageDialog help(NULL); + HelpMessageDialog help(NULL, mapArgs.count("-version")); help.showOrPrint(); return 1; } |