Fix cleanup flags not being read
This commit is contained in:
parent
5776784021
commit
c425b263fe
@ -876,6 +876,12 @@ func resolveFlags() {
|
||||
return
|
||||
}
|
||||
subcommandArgs = removeFlagSet.Args()
|
||||
} else if getCommandType() == cleanup {
|
||||
err := cleanupFlagSet.Parse(subcommandArgs)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
subcommandArgs = cleanupFlagSet.Args()
|
||||
} else if getCommandType() == file {
|
||||
err := fileFlagSet.Parse(subcommandArgs)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user