When I tested this last time (before pulling it from @laanwj repo to main tree) I was able to run bitcoin-qt --help and look into options from bitcoind, but now it just quietly start and don't show help (but it support other bitcoind options like -blocknet abd -addnode. Just applied them silently).
-
msva commented at 11:17 PM on May 12, 2012: contributor
-
gmaxwell commented at 11:25 PM on May 12, 2012: contributor
Works okay with git master on Linux right now.
-
msva commented at 11:35 PM on May 12, 2012: contributor
it's a strange thing, because I've compiled it few hours ago and it is, as I said, ignores "--help" argument
-
msva commented at 11:38 PM on May 12, 2012: contributor
Uh, okay! It just initialize splash and tray icon at first, and only AFTER that it shows help-screen ;) I just did not wait for initialization and pressed ^C every time.
Anyway, I think, --help should be processed before initialization of splash and tray icon ;)
-
sipa commented at 11:43 PM on May 12, 2012: member
Agree; --help should maybe be dealt with separately from other options.
-
laanwj commented at 7:13 AM on May 13, 2012: member
Printing of --help should indeed be moved out of AppInit2 for many reasons. See for possible design the last post here: #1049
The core should return the options it has available with a call. GUI can add its own options and do the actual printing. In the case of the daemon it could move up to AppInit including the !defined(QT_GUI) block.
- laanwj referenced this in commit 6cfe909b3f on May 13, 2012
- laanwj referenced this in commit 4bd638307d on May 13, 2012
- laanwj referenced this in commit 3514f40375 on May 13, 2012
- laanwj referenced this in commit 842e5c7ab1 on May 13, 2012
- laanwj referenced this in commit 694dcb6e26 on May 13, 2012
- laanwj referenced this in commit 9f5b11e6fd on May 13, 2012
-
laanwj commented at 6:40 AM on May 15, 2012: member
Should be fixed now, closing.
- laanwj closed this on May 15, 2012
- coblee referenced this in commit cc4c944b0f on Jul 17, 2012
- suprnurd referenced this in commit 348c001445 on Dec 5, 2017
- lateminer referenced this in commit 1e2c8592d0 on Jan 22, 2019
- lateminer referenced this in commit 805800164e on May 6, 2020
- lateminer referenced this in commit cf1bab30d5 on May 6, 2020
- DrahtBot locked this on Sep 8, 2021