Update ocis/pkg/command/trash.go

Co-authored-by: kobergj <juliankoberg@googlemail.com>
This commit is contained in:
Christian Richter
2024-06-27 13:57:18 +00:00
committed by Christian Richter
parent 707199ce99
commit 97fe0b06fb

View File

@@ -49,7 +49,7 @@ func TrashPurgeOrphanedDirsCommand(cfg *config.Config) *cli.Command {
basePath := c.String("basepath")
if basePath == "" {
fmt.Println("basepath is required")
return cli.ShowCommandHelp(c, "consistency")
return cli.ShowCommandHelp(c, "trash")
}
if err := trash.PurgeTrashOrphanedPaths(basePath, c.Bool("dry-run")); err != nil {