eos
eos copied to clipboard
cleos doesn't accept multiple headers
trafficstars
Trying to execute a cleos command using multiple headers:
$ cleos --header "X-Eos-Push-Guarantee: in-block" --header "Authorization: Bearer <redacted>" -u "https://waxtest.dfuse.eosnation.io" transfer fromaccount toaccount "0.0001 WAX"
Results in this error:
--header: At Most 1 required but received 2
The docs clearly state though:
$ cleos -h
...
-r,--header Pass specific HTTP header; repeat this option to pass multiple headers
...
Version
$ cleos version full
v2.1.0-26a4d285d0be1052d962149e431eb81500782991