Updating flags and readme

This commit is contained in:
Matt Burchett 2018-11-15 05:39:41 +00:00
parent ff975747fb
commit 8586271540
2 changed files with 6 additions and 6 deletions

View File

@ -13,11 +13,11 @@ Usage of ./housekeeper:
-c string
Configuration to load
-check
Perform only a check. Do not delete. (default true)
Perform only a check. This will send the message out to Telegram with what can be removed. Does not delete. (default true)
-days int
days to poll
How many days of inactivity to look for on Plex.
-delete
Perform the delete task.
-sectionid int
pick a section ID
Plex Section ID
```

View File

@ -45,9 +45,9 @@ func main() {
var delete bool
flag.StringVar(&c, "c", "", "Configuration to load")
flag.IntVar(&days, "days", 0, "days to poll")
flag.IntVar(&sectionID, "sectionid", 0, "pick a section ID")
flag.BoolVar(&check, "check", true, "Perform only a check. Do not delete.")
flag.IntVar(&days, "days", 0, "How many days of inactivity to look for on Plex.")
flag.IntVar(&sectionID, "sectionid", 0, "Plex Section ID")
flag.BoolVar(&check, "check", true, "Perform only a check. This will send the message out to Telegram with what can be removed. Does not delete.")
flag.BoolVar(&delete, "delete", false, "Perform the delete task.")
flag.Parse()
if c == "" {