Merge pull request #649 from umohnani8/main
Remove repeated app.Flags in cmd/kpod/main.go
This commit is contained in:
commit
fa25b381b1
1 changed files with 0 additions and 18 deletions
|
@ -47,24 +47,6 @@ func main() {
|
||||||
Usage: "used to pass an option to the storage driver",
|
Usage: "used to pass an option to the storage driver",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
app.Flags = []cli.Flag{
|
|
||||||
cli.StringFlag{
|
|
||||||
Name: "root",
|
|
||||||
Usage: "path to the root directory in which data, including images, is stored",
|
|
||||||
},
|
|
||||||
cli.StringFlag{
|
|
||||||
Name: "runroot",
|
|
||||||
Usage: "path to the 'run directory' where all state information is stored",
|
|
||||||
},
|
|
||||||
cli.StringFlag{
|
|
||||||
Name: "storage-driver, s",
|
|
||||||
Usage: "select which storage driver is used to manage storage of images and containers (default is overlay2)",
|
|
||||||
},
|
|
||||||
cli.StringSliceFlag{
|
|
||||||
Name: "storage-opt",
|
|
||||||
Usage: "used to pass an option to the storage driver",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := app.Run(os.Args); err != nil {
|
if err := app.Run(os.Args); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
|
|
Loading…
Reference in a new issue