In clean service: args are renamed: upload-dir -> dir, keep-for -> expiry.
This commit is contained in:
parent
7e4af6b977
commit
1c7f03053f
@ -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")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user