fix(cli): use string slice flag

main
sudo pacman -Syu 2024-02-22 10:47:44 +07:00
parent bdd2014cd9
commit 2b0dcfac2b
1 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ func NewApp() *App {
Name: flagDryRunName, Name: flagDryRunName,
Usage: flagDryRunUsage, Usage: flagDryRunUsage,
}, },
&cli.StringFlag{ &cli.StringSliceFlag{
Name: flagAppName, Name: flagAppName,
Usage: flagAppUsage, Usage: flagAppUsage,
}, },
@ -103,7 +103,7 @@ func NewApp() *App {
Name: flagDryRunName, Name: flagDryRunName,
Usage: flagDryRunUsage, Usage: flagDryRunUsage,
}, },
&cli.StringFlag{ &cli.StringSliceFlag{
Name: flagAppName, Name: flagAppName,
Usage: flagAppUsage, Usage: flagAppUsage,
}, },
@ -123,7 +123,7 @@ func NewApp() *App {
Name: flagDryRunName, Name: flagDryRunName,
Usage: flagDryRunUsage, Usage: flagDryRunUsage,
}, },
&cli.StringFlag{ &cli.StringSliceFlag{
Name: flagAppName, Name: flagAppName,
Usage: flagAppUsage, Usage: flagAppUsage,
}, },
@ -171,7 +171,7 @@ func NewApp() *App {
Name: flagVerboseName, Name: flagVerboseName,
Usage: flagVerboseUsage, Usage: flagVerboseUsage,
}, },
&cli.StringFlag{ &cli.StringSliceFlag{
Name: flagAppName, Name: flagAppName,
Usage: flagAppUsage, Usage: flagAppUsage,
}, },