From f9b9f92d3f36cb954c756c34acdf1ed533adc6a7 Mon Sep 17 00:00:00 2001 From: umohnani8 Date: Wed, 12 Jul 2017 11:59:45 -0400 Subject: [PATCH] Remove repeated app.Flags in cmd/kpod/main.go Signed-off-by: umohnani8 --- cmd/kpod/main.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cmd/kpod/main.go b/cmd/kpod/main.go index 02190c85..331aaec0 100644 --- a/cmd/kpod/main.go +++ b/cmd/kpod/main.go @@ -47,24 +47,6 @@ func main() { 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 { logrus.Fatal(err)