cmd/geth, cmd/swarm: sort commands and flags by name (#3462)
This commit is contained in:
committed by
Felix Lange
parent
73c5aba21f
commit
2b422b1a47
@ -21,6 +21,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@ -165,6 +166,7 @@ func init() {
|
||||
// See config.go
|
||||
dumpConfigCommand,
|
||||
}
|
||||
sort.Sort(cli.CommandsByName(app.Commands))
|
||||
|
||||
app.Flags = append(app.Flags, nodeFlags...)
|
||||
app.Flags = append(app.Flags, rpcFlags...)
|
||||
|
Reference in New Issue
Block a user