Fix panic when no instance is passed to certain CLI options (#275)

This commit is contained in:
Hernando Castano
2020-08-07 17:52:56 -04:00
committed by Bastian Köcher
parent 9f6bd28384
commit acb78b0595
+3
View File
@@ -85,6 +85,7 @@ subcommands:
help: Hex-encoded secret to use when transactions are submitted to the Ethereum node. help: Hex-encoded secret to use when transactions are submitted to the Ethereum node.
- sub-host: *sub-host - sub-host: *sub-host
- sub-port: *sub-port - sub-port: *sub-port
- sub-pallet-instance: *sub-pallet-instance
- no-prometheus: *no-prometheus - no-prometheus: *no-prometheus
- prometheus-host: *prometheus-host - prometheus-host: *prometheus-host
- prometheus-port: *prometheus-port - prometheus-port: *prometheus-port
@@ -102,6 +103,7 @@ subcommands:
takes_value: true takes_value: true
- sub-host: *sub-host - sub-host: *sub-host
- sub-port: *sub-port - sub-port: *sub-port
- sub-pallet-instance: *sub-pallet-instance
- sub-authorities-set-id: - sub-authorities-set-id:
long: sub-authorities-set-id long: sub-authorities-set-id
value_name: SUB_AUTHORITIES_SET_ID value_name: SUB_AUTHORITIES_SET_ID
@@ -160,6 +162,7 @@ subcommands:
- sub-port: *sub-port - sub-port: *sub-port
- sub-signer: *sub-signer - sub-signer: *sub-signer
- sub-signer-password: *sub-signer-password - sub-signer-password: *sub-signer-password
- sub-pallet-instance: *sub-pallet-instance
- no-prometheus: *no-prometheus - no-prometheus: *no-prometheus
- prometheus-host: *prometheus-host - prometheus-host: *prometheus-host
- prometheus-port: *prometheus-port - prometheus-port: *prometheus-port