mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +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 {
|
if len(args) > i+1 {
|
||||||
switch option := args[i+1].(type) {
|
switch option := args[i+1].(type) {
|
||||||
case cli.Flag:
|
case cli.Flag:
|
||||||
set = append(set, `"--` + flag.GetName() + `"`)
|
set = append(set, `"--`+flag.GetName()+`"`)
|
||||||
case string:
|
case string:
|
||||||
if ctx.GlobalString(flag.GetName()) == option {
|
if ctx.GlobalString(flag.GetName()) == option {
|
||||||
set = append(set, `"--` + flag.GetName() + ` ` + option + `"`)
|
set = append(set, `"--`+flag.GetName()+` `+option+`"`)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
Fatalf("Received wrong type in checkExclusive")
|
Fatalf("Received wrong type in checkExclusive")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
set = append(set, `"--` + flag.GetName() + `"`)
|
set = append(set, `"--`+flag.GetName()+`"`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue