Merge branch 'fix-hook-flags' into 'main'

Use singular instead of plural for hook arguments

See merge request nvidia/container-toolkit/container-toolkit!146
This commit is contained in:
Evan Lezar
2022-05-10 22:00:51 +00:00
4 changed files with 6 additions and 7 deletions

View File

@@ -66,9 +66,8 @@ func (m command) build() *cli.Command {
Destination: &cfg.hostRoot,
},
&cli.StringSliceFlag{
Name: "csv-filenames",
Aliases: []string{"f"},
Usage: "Specify the (CSV) filenames to process",
Name: "csv-filename",
Usage: "Specify a (CSV) filename to process",
Destination: &cfg.filenames,
},
&cli.StringFlag{

View File

@@ -59,8 +59,8 @@ func (m command) build() *cli.Command {
c.Flags = []cli.Flag{
&cli.StringSliceFlag{
Name: "folders",
Usage: "Specifiy the additional folders to add to /etc/ld.so.conf before updating the ld cache",
Name: "folder",
Usage: "Specifiy a folder to add to /etc/ld.so.conf before updating the ld cache",
Destination: &cfg.folders,
},
&cli.StringFlag{