1
0
Fork 0

In clean service: args are renamed: upload-dir -> dir, keep-for -> expiry.

This commit is contained in:
Alexander Andreev 2023-08-01 16:40:31 +04:00
parent 7e4af6b977
commit 1c7f03053f
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 2 additions and 2 deletions

View File

@ -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")
)