cmd/geth, cmd/swarm: sort commands and flags by name (#3462)

This commit is contained in:
Maximilian Meister
2017-08-11 13:29:05 +02:00
committed by Felix Lange
parent 73c5aba21f
commit 2b422b1a47
13 changed files with 197 additions and 56 deletions

View File

@ -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...)