mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 03:18:52 -06:00
Update ocis/pkg/command/trash.go
Co-authored-by: kobergj <juliankoberg@googlemail.com>
This commit is contained in:
committed by
Christian Richter
parent
707199ce99
commit
97fe0b06fb
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user