command/refresh: fix state file path (#22885)
* fix default state file path for refresh command
This commit is contained in:
parent
b3d3d6460e
commit
dc3ce1bbf7
|
@ -18,7 +18,7 @@ type RefreshCommand struct {
|
|||
func (c *RefreshCommand) Run(args []string) int {
|
||||
args = c.Meta.process(args)
|
||||
cmdFlags := c.Meta.extendedFlagSet("refresh")
|
||||
cmdFlags.StringVar(&c.Meta.statePath, "state", DefaultStateFilename, "path")
|
||||
cmdFlags.StringVar(&c.Meta.statePath, "state", "", "path")
|
||||
cmdFlags.IntVar(&c.Meta.parallelism, "parallelism", DefaultParallelism, "parallelism")
|
||||
cmdFlags.StringVar(&c.Meta.stateOutPath, "state-out", "", "path")
|
||||
cmdFlags.StringVar(&c.Meta.backupPath, "backup", "", "path")
|
||||
|
|
Loading…
Reference in New Issue