nimbus-eth2 icon indicating copy to clipboard operation
nimbus-eth2 copied to clipboard

Poor error message when passing beacon node command line option to `deposit` command

Open arnetheduck opened this issue 3 years ago • 0 comments

It looks like parsing of --tcp-port locks the command-line parser into thinking it's running without a specific command

[arnetheduck@praeceps nimbus-eth2]$ build/nimbus_beacon_node --network=mainnet --data-dir=/tmp deposits
The required option 'depositsCmd' was not specified
Try nimbus_beacon_node --help for more information.
[arnetheduck@praeceps nimbus-eth2]$ build/nimbus_beacon_node --network=mainnet --data-dir=/tmp --tcp-port=2000 deposits
The command 'noCommand' does not accept arguments
Try nimbus_beacon_node --help for more information.

b318a74d83b36f29b991cda9820dcbf8024a7383

arnetheduck avatar Jun 27 '22 09:06 arnetheduck