Skip to content

Commit f24e266

Browse files
committed
validator_worker - add long arg names (i.e. `--adapter)
1 parent d8eb80d commit f24e266

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

validator_worker/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ fn main() -> Result<(), Box<dyn Error>> {
3636
)
3737
.arg(
3838
Arg::with_name("adapter")
39+
.long("adapter")
3940
.short("a")
4041
.help("the adapter for authentication and signing")
4142
.required(true)
@@ -45,18 +46,21 @@ fn main() -> Result<(), Box<dyn Error>> {
4546
)
4647
.arg(
4748
Arg::with_name("keystoreFile")
49+
.long("keystoreFile")
4850
.short("k")
4951
.help("path to the JSON Ethereum Keystore file")
5052
.takes_value(true),
5153
)
5254
.arg(
5355
Arg::with_name("dummyIdentity")
56+
.long("dummyIdentity")
5457
.short("i")
5558
.help("the identity to use with the dummy adapter")
5659
.takes_value(true),
5760
)
5861
.arg(
5962
Arg::with_name("sentryUrl")
63+
.long("sentryUrl")
6064
.short("u")
6165
.help("the URL to the sentry used for listing channels")
6266
.default_value("http://127.0.0.1:8005")
@@ -65,6 +69,7 @@ fn main() -> Result<(), Box<dyn Error>> {
6569
)
6670
.arg(
6771
Arg::with_name("singleTick")
72+
.long("singleTick")
6873
.short("t")
6974
.takes_value(false)
7075
.help("runs the validator in single-tick mode and exit"),

0 commit comments

Comments
 (0)