forked from cerc-io/plugeth
cmd: use flags.Merge for grouping flags (#25392)
This commit is contained in:
@@ -994,15 +994,6 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
// GroupFlags combines the given flag slices together and returns the merged one.
|
||||
func GroupFlags(groups ...[]cli.Flag) []cli.Flag {
|
||||
var ret []cli.Flag
|
||||
for _, group := range groups {
|
||||
ret = append(ret, group...)
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
// MakeDataDir retrieves the currently requested data directory, terminating
|
||||
// if none (or the empty string) is specified. If the node is starting a testnet,
|
||||
// then a subdirectory of the specified datadir will be used.
|
||||
|
||||
Reference in New Issue
Block a user