cmd/geth: fix help output issues (#25941)
This update resolves an issue where StringSliceFlag would not be rendered correctly in help output + mention that -H can be used multiple times Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
co-authored by
Martin Holst Swende
parent
df2b3cd2bd
commit
564751668a
+6
-7
@@ -864,6 +864,12 @@ var (
|
||||
Value: flags.DirectoryString("."),
|
||||
Category: flags.APICategory,
|
||||
}
|
||||
HttpHeaderFlag = &cli.StringSliceFlag{
|
||||
Name: "header",
|
||||
Aliases: []string{"H"},
|
||||
Usage: "Pass custom headers to the RPC server when using --" + RemoteDBFlag.Name + " or the geth attach console. This flag can be given multiple times.",
|
||||
Category: flags.APICategory,
|
||||
}
|
||||
|
||||
// Gas price oracle settings
|
||||
GpoBlocksFlag = &cli.IntFlag{
|
||||
@@ -985,13 +991,6 @@ var (
|
||||
Value: metrics.DefaultConfig.InfluxDBOrganization,
|
||||
Category: flags.MetricsCategory,
|
||||
}
|
||||
|
||||
HttpHeaderFlag = &cli.StringSliceFlag{
|
||||
Name: "header",
|
||||
Aliases: []string{"H"},
|
||||
Usage: "Pass custom headers to the RPC server wheng using --" + RemoteDBFlag.Name + " or the geth attach console.",
|
||||
Category: flags.NetworkingCategory,
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user