diff options
author | Maximilian Meister <mmeister@suse.de> | 2017-08-11 19:29:05 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-08-11 19:29:05 +0800 |
commit | 2b422b1a47e9b2a0f3d7ecf7063eef2e59cc082e (patch) | |
tree | fe732b8be4c6ec4fb11ed78078b54144fcb4affc /cmd/swarm | |
parent | 73c5aba21fcca1bf1f78e94d88920fde6762be9e (diff) | |
download | dexon-2b422b1a47e9b2a0f3d7ecf7063eef2e59cc082e.tar.gz dexon-2b422b1a47e9b2a0f3d7ecf7063eef2e59cc082e.tar.zst dexon-2b422b1a47e9b2a0f3d7ecf7063eef2e59cc082e.zip |
cmd/geth, cmd/swarm: sort commands and flags by name (#3462)
Diffstat (limited to 'cmd/swarm')
-rw-r--r-- | cmd/swarm/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index 449d11f36..603fd9b94 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -25,6 +25,7 @@ import ( "os" "os/signal" "runtime" + "sort" "strconv" "strings" "syscall" @@ -302,6 +303,7 @@ DEPRECATED: use 'swarm db clean'. `, }, } + sort.Sort(cli.CommandsByName(app.Commands)) app.Flags = []cli.Flag{ utils.IdentityFlag, |