Updating flags and readme
This commit is contained in:
parent
ff975747fb
commit
8586271540
@ -13,11 +13,11 @@ Usage of ./housekeeper:
|
|||||||
-c string
|
-c string
|
||||||
Configuration to load
|
Configuration to load
|
||||||
-check
|
-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 int
|
||||||
days to poll
|
How many days of inactivity to look for on Plex.
|
||||||
-delete
|
-delete
|
||||||
Perform the delete task.
|
Perform the delete task.
|
||||||
-sectionid int
|
-sectionid int
|
||||||
pick a section ID
|
Plex Section ID
|
||||||
```
|
```
|
@ -45,9 +45,9 @@ func main() {
|
|||||||
var delete bool
|
var delete bool
|
||||||
|
|
||||||
flag.StringVar(&c, "c", "", "Configuration to load")
|
flag.StringVar(&c, "c", "", "Configuration to load")
|
||||||
flag.IntVar(&days, "days", 0, "days to poll")
|
flag.IntVar(&days, "days", 0, "How many days of inactivity to look for on Plex.")
|
||||||
flag.IntVar(§ionID, "sectionid", 0, "pick a section ID")
|
flag.IntVar(§ionID, "sectionid", 0, "Plex Section ID")
|
||||||
flag.BoolVar(&check, "check", true, "Perform only a check. Do not delete.")
|
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.BoolVar(&delete, "delete", false, "Perform the delete task.")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
if c == "" {
|
if c == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user