Skip to content

Commit bbeb83d

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sentry/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2828
)
2929
.arg(
3030
Arg::with_name("adapter")
31+
.long("adapter")
3132
.short("a")
3233
.help("the adapter for authentication and signing")
3334
.required(true)
@@ -37,18 +38,21 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
3738
)
3839
.arg(
3940
Arg::with_name("keystoreFile")
41+
.long("keystoreFile")
4042
.short("k")
4143
.help("path to the JSON Ethereum Keystore file")
4244
.takes_value(true),
4345
)
4446
.arg(
4547
Arg::with_name("dummyIdentity")
48+
.long("dummyIdentity")
4649
.short("i")
4750
.help("the identity to use with the dummy adapter")
4851
.takes_value(true),
4952
)
5053
.arg(
5154
Arg::with_name("clustered")
55+
.long("clustered")
5256
.short("c")
5357
.help("Run app in cluster mode with multiple workers"),
5458
)

0 commit comments

Comments
 (0)