user14357: Some bitcoind commands have optional params. For example, when doing "bitcoind help", it says the getrawmempool has a "verbose" param. 
But no matter what I try, I can't seem to set this param on the command line. I've tried this:
bitcoind -verbose getrawmempool
bitcoind getrawmempool verbose
bitcoind getrawmempool -verbose
bitcoind getrawmempool verbose=1
bitcoind getrawmempool -verbose=1
bitcoind getrawmempool {"verbose":"1"}
bitcoind getrawmempool {"verbose":"true"}
bitcoind getrawmempool {\"verbose\":\"1\"}
bitcoind getrawmempool {\"verbose\":\"true\"}

Especially notice how the last few result in "error: value type is obj, expected bool" whereas the others give "error parsing JSON".
What should I type on the command line exactly in order to execute the 'getrawmempool' with the 'verbose' parameter?

user13413: Usually it's fairly descriptive if you know what's going on, for example it looks for a  boolean on the end of that command, so this will do as you wish.
bitcoin-cli getrawmempool true

bitcoin-cli has replaced bitcoind for RPC commands, you'll need to get used to it as the RPC client is being removed from the bitcoind binary fairly soon.

14357: <p>Some bitcoind commands have optional params. For example, when doing "bitcoind help", it says the getrawmempool has a "verbose" param. </p>

<p>But no matter what I try, I can't seem to set this param on the command line. I've tried this:</p>

<pre><code>bitcoind -verbose getrawmempool
bitcoind getrawmempool verbose
bitcoind getrawmempool -verbose
bitcoind getrawmempool verbose=1
bitcoind getrawmempool -verbose=1
bitcoind getrawmempool {"verbose":"1"}
bitcoind getrawmempool {"verbose":"true"}
bitcoind getrawmempool {\"verbose\":\"1\"}
bitcoind getrawmempool {\"verbose\":\"true\"}
</code></pre>

<p>Especially notice how the last few result in "error: value type is obj, expected bool" whereas the others give "error parsing JSON".</p>

<p>What should I type on the command line <em>exactly</em> in order to execute the 'getrawmempool' with the 'verbose' parameter?</p>
 13413: <p>Usually it's fairly descriptive if you know what's going on, for example it looks for a  boolean on the end of that command, so this will do as you wish.</p>

<pre><code>bitcoin-cli getrawmempool true
</code></pre>

<p><code>bitcoin-cli</code> has replaced <code>bitcoind</code> for RPC commands, you'll need to get used to it as the RPC client is being removed from the <code>bitcoind</code> binary fairly soon.</p>
