8c18f0e06f3c8da9496c66f963c6b9f8adffcbfa
Before this PR the list of commands that were printed for the help text was statically put into the flags.Usage() function via main.init(). This made it impossible to modify later on when we add new commands via plugins. This PR moves the list of commands (name & description) into a structure that is sorted and printed dynamically by the Usage func. This will allow the code to add to the list of commands after the init() func is done but before the help text is printed for the user. This just moves code around - it should have no UX impact at all. Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: 4f00b1020e8bf28d5d3dfb88730894888666fd9a Component: engine
Description
No description provided
310 MiB
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%