diff --git a/cmd/hauler/cli/store/flags.go b/cmd/hauler/cli/store/flags.go index cb469ce..0b4a2d1 100644 --- a/cmd/hauler/cli/store/flags.go +++ b/cmd/hauler/cli/store/flags.go @@ -18,11 +18,13 @@ const ( type RootOpts struct { StoreDir string + CacheDir string } func (o *RootOpts) AddArgs(cmd *cobra.Command) { pf := cmd.PersistentFlags() pf.StringVarP(&o.StoreDir, "store", "s", DefaultStoreName, "Location to create store at") + pf.StringVar(&o.CacheDir, "cache", "", "(deprecated flag and currently not used)") } func (o *RootOpts) Store(ctx context.Context) (*store.Layout, error) {