mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/swarm/swarm-smoke-pss: explain sorting of flags and commands
This commit is contained in:
parent
aba4eeeb05
commit
f68b8a10c1
1 changed files with 3 additions and 1 deletions
|
|
@ -134,11 +134,13 @@ func main() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "all",
|
Name: "all",
|
||||||
Usage: "send and receive raw, sym and asym messages across randome nodes",
|
Usage: "send and receive raw, sym and asym messages across random nodes",
|
||||||
Action: wrapCliCommand("all", pssAllCheck),
|
Action: wrapCliCommand("all", pssAllCheck),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sort flags and commands so that they appear
|
||||||
|
// ordered when running the help command
|
||||||
sort.Sort(cli.FlagsByName(app.Flags))
|
sort.Sort(cli.FlagsByName(app.Flags))
|
||||||
sort.Sort(cli.CommandsByName(app.Commands))
|
sort.Sort(cli.CommandsByName(app.Commands))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue