mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 17:03:46 +00:00
Reformatted
This commit is contained in:
parent
ce45110a8e
commit
642612cb9f
1 changed files with 3 additions and 3 deletions
|
|
@ -938,16 +938,16 @@ func checkExclusive(ctx *cli.Context, args ...interface{}) {
|
|||
if len(args) > i+1 {
|
||||
switch option := args[i+1].(type) {
|
||||
case cli.Flag:
|
||||
set = append(set, `"--` + flag.GetName() + `"`)
|
||||
set = append(set, `"--`+flag.GetName()+`"`)
|
||||
case string:
|
||||
if ctx.GlobalString(flag.GetName()) == option {
|
||||
set = append(set, `"--` + flag.GetName() + ` ` + option + `"`)
|
||||
set = append(set, `"--`+flag.GetName()+` `+option+`"`)
|
||||
}
|
||||
default:
|
||||
Fatalf("Received wrong type in checkExclusive")
|
||||
}
|
||||
} else {
|
||||
set = append(set, `"--` + flag.GetName() + `"`)
|
||||
set = append(set, `"--`+flag.GetName()+`"`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue