diff --git a/cmd/dwelling-upload-clean/main.go b/cmd/dwelling-upload-clean/main.go index 26a29db..37fd1bc 100644 --- a/cmd/dwelling-upload-clean/main.go +++ b/cmd/dwelling-upload-clean/main.go @@ -11,8 +11,8 @@ import ( ) var ( - uploadDir *string = flag.String("upload-dir", "/srv/upload", "path to a directory where uploaded files are stored") - keepForHours *int64 = flag.Int64("keep-for", 36, "keep files for this much hours") + uploadDir *string = flag.String("dir", "/srv/upload", "path to a directory where uploaded files are stored") + expiry *int64 = flag.Int64("expiry", 36, "keep files for this much hours") showVersion *bool = flag.Bool("v", false, "show version") )