wallet: Improve wallet creation error message with usage hint #33124

pull chareice wants to merge 1 commits into bitcoin:master from chareice:master changing 1 files +1 −1
  1. chareice commented at 9:37 am on August 2, 2025: none

    Improve wallet creation error message with usage hint,The original error message did not provide a method for specifying the wallet name, causing confusion for users.

    before:

    0$ ./build/bin/bitcoin-wallet create                                                 
    1Wallet name must be provided when creating a new wallet.
    

    after:

    0$ ./build/bin/bitcoin-wallet create                                                 
    1Wallet name must be provided when creating a new wallet. Use -wallet=<wallet-name> to specify the name.
    
  2. wallet: Improve wallet creation error message with usage hint e5786dcdda
  3. DrahtBot added the label Wallet on Aug 2, 2025
  4. DrahtBot commented at 9:37 am on August 2, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33124.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    No conflicts as of last run.

  5. naiyoma commented at 12:31 pm on October 29, 2025: contributor
    I’m not sure this is necessary since the correct syntax can be found using -help
  6. maflcko commented at 12:43 pm on October 29, 2025: member
    Yeah, tend to agree. One will have to read the full help anyway to understand it.
  7. maflcko closed this on Oct 29, 2025


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: 2025-11-02 18:12 UTC

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