Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: callmejoe on February 12, 2024, 04:48:23 PM



Title: [Solved] bitcoind -? doesnt show many of the commands it used to
Post by: callmejoe on February 12, 2024, 04:48:23 PM
running bitcoind -? or bitcoin-cli -?  at the command line used to give me a pretty exhaustive list of options.  I am noticing now many are now not listed (dumpwallet, getblockcount,getaddressbylabel,sendtoaddress,etc.)

i found them here
https://developer.bitcoin.org/reference/rpc/index.html

But why were they removed from the help pages? Or am I missing something.  Back 3-4 years ago this is how I learned to use bitcoin at the command line.


Title: Re: bitcoind -? doesnt show many of the commands it used to
Post by: BitMaxz on February 12, 2024, 09:16:18 PM
Have you tried to use bitcoin-cli help instead of using -? it might only show limited commands compared to using "help".

I tried to send a command using the command you use and yes it doesn't show these commands I searched in Google to find out why these aren't listed on "-?" but I couldn't find it.


Title: Re: bitcoind -? doesnt show many of the commands it used to
Post by: callmejoe on February 12, 2024, 11:46:34 PM
Have you tried to use bitcoin-cli help instead of using -? it might only show limited commands compared to using "help".
"bitcoin-cli help" was it.    it's funny because i has tried "bitcoin-cli --help" but that just gives the abbreviated list too.

thanks for confirming my memory!


Title: Re: [Solved] bitcoind -? doesnt show many of the commands it used to
Post by: DaveF on February 13, 2024, 12:41:19 PM
Side note, but worth mentioning in the old days

command ?
command help
command [blank but needs some arguments to work]

all gave more or less the same help info.

Now as the OP has mentioned you get different levels of info. It's not just bitcoin but a lot of apps.
Not sure why this practice has become more common but it's happening.

-Dave