Write forget and copy options with correct name

This commit is contained in:
Quentin Duchemin
2022-05-16 12:30:22 +02:00
parent 3bc091f826
commit b29a7472e0
2 changed files with 18 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ var forgetCmd = &cobra.Command{
dry, _ := cmd.Flags().GetBool("dry-run")
for _, name := range selected {
location, _ := internal.GetLocation(name)
err := location.Forget(prune, dry)
err := location.DoForget(prune, dry)
CheckErr(err)
}
},