mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-06-02 18:39:40 +02:00
fix: set cli usage instead of description (#13)
This commit is contained in:
parent
6cb1238962
commit
87ca9df3f4
|
@ -61,10 +61,10 @@ func New(opt Options) *Plugin {
|
|||
}
|
||||
|
||||
app := &cli.App{
|
||||
Name: opt.Name,
|
||||
Description: opt.Description,
|
||||
Version: opt.Version,
|
||||
Flags: append(opt.Flags, Flags()...),
|
||||
Name: opt.Name,
|
||||
Usage: opt.Description,
|
||||
Version: opt.Version,
|
||||
Flags: append(opt.Flags, Flags()...),
|
||||
}
|
||||
|
||||
cli.VersionPrinter = func(c *cli.Context) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user