You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you try to navigate thru the REST API of Jormungandr --host needs to be passed to indicate the API target, using option --help with --host works just fine, but using help results in following error.
(cardano-jormungandr)[jormungandr@bcdc49f9a6ac /srv/cardano/jormungandr]$ jcli rest v0 help --host http://localhost:3100/api
error: The subcommand '--host' wasn't recognized
USAGE:
jcli rest v0 help <subcommands>...
For more information try --help
(cardano-jormungandr)[jormungandr@bcdc49f9a6ac /srv/cardano/jormungandr]$
To Reproduce
Description is pretty clear, but I provide example of using --help option below...
(cardano-jormungandr)[jormungandr@bcdc49f9a6ac /srv/cardano/jormungandr]$ jcli rest v0 --help --host http://localhost:3100/api
jcli-rest-v0 0.9.0-rc1
API version 0
USAGE:
jcli rest v0 <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
account Account operations
block Block operations
diagnostic System diagnostic information
help Prints this message or the help of the given subcommand(s)
leaders Node leaders operations
message Message sending
network Network information
node Node information
rewards Rewards information
settings Node settings
shutdown Shutdown node
stake Stake information
stake-pool Stake pool operations
stake-pools Stake pools operations
tip Blockchain tip information
utxo UTXO information
vote Vote related operations
Expected behavior
I would expect both help and --help to be treated the same even if --host is passed to jcli.
The text was updated successfully, but these errors were encountered:
mark-stopka
changed the title
jcli help helper does not work with --host argument being passed
jcli help helper does not work with --host argument being passed
Jun 21, 2020
Describe the bug
If you try to navigate thru the REST API of Jormungandr
--host
needs to be passed to indicate the API target, using option--help
with--host
works just fine, but usinghelp
results in following error.Mandatory Information
jcli --full-version
output;jormungandr --full-version
output;To Reproduce
Description is pretty clear, but I provide example of using --help option below...
Expected behavior
I would expect both
help
and--help
to be treated the same even if--host
is passed tojcli
.The text was updated successfully, but these errors were encountered: