cmd/utils: change blssync.JWTSecretFlag to DirectoryFlag (#30729)
closes https://github.com/ethereum/go-ethereum/issues/30304 We already use `DirectoryFlag` for `authrpc.jwtsecret` which expands the tilde, so this should work out of the box
This commit is contained in:
parent
e56bbd77a4
commit
9c08631bb0
|
@ -319,7 +319,7 @@ var (
|
||||||
Usage: "Target EL engine API URL",
|
Usage: "Target EL engine API URL",
|
||||||
Category: flags.BeaconCategory,
|
Category: flags.BeaconCategory,
|
||||||
}
|
}
|
||||||
BlsyncJWTSecretFlag = &cli.StringFlag{
|
BlsyncJWTSecretFlag = &flags.DirectoryFlag{
|
||||||
Name: "blsync.jwtsecret",
|
Name: "blsync.jwtsecret",
|
||||||
Usage: "Path to a JWT secret to use for target engine API endpoint",
|
Usage: "Path to a JWT secret to use for target engine API endpoint",
|
||||||
Category: flags.BeaconCategory,
|
Category: flags.BeaconCategory,
|
||||||
|
|
Loading…
Reference in New Issue