bitcoin qt gui don't support --help argument #1278

issue msva opened this issue on May 12, 2012
  1. msva commented at 11:17 PM on May 12, 2012: contributor

    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).

  2. gmaxwell commented at 11:25 PM on May 12, 2012: contributor

    Works okay with git master on Linux right now.

  3. 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

  4. 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 ;)

  5. sipa commented at 11:43 PM on May 12, 2012: member

    Agree; --help should maybe be dealt with separately from other options.

  6. 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.

  7. laanwj referenced this in commit 6cfe909b3f on May 13, 2012
  8. laanwj referenced this in commit 4bd638307d on May 13, 2012
  9. laanwj referenced this in commit 3514f40375 on May 13, 2012
  10. laanwj referenced this in commit 842e5c7ab1 on May 13, 2012
  11. laanwj referenced this in commit 694dcb6e26 on May 13, 2012
  12. laanwj referenced this in commit 9f5b11e6fd on May 13, 2012
  13. laanwj commented at 6:40 AM on May 15, 2012: member

    Should be fixed now, closing.

  14. laanwj closed this on May 15, 2012

  15. coblee referenced this in commit cc4c944b0f on Jul 17, 2012
  16. suprnurd referenced this in commit 348c001445 on Dec 5, 2017
  17. lateminer referenced this in commit 1e2c8592d0 on Jan 22, 2019
  18. lateminer referenced this in commit 805800164e on May 6, 2020
  19. lateminer referenced this in commit cf1bab30d5 on May 6, 2020
  20. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me