removed obsolete flags
This commit is contained in:
parent
d64d5e1ee5
commit
8f1463b2ef
2 changed files with 33 additions and 18 deletions
33
Readme.md
Normal file
33
Readme.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
````
|
||||||
|
Usage of my-bloody-hetzner-sb-notifier:
|
||||||
|
-alert-on-score int
|
||||||
|
set alert on score
|
||||||
|
-max-benchmark int
|
||||||
|
set max benchmark (default 20000)
|
||||||
|
-max-hdd-count int
|
||||||
|
set max hdd count (default 15)
|
||||||
|
-max-hdd-size int
|
||||||
|
set max hdd size (default 6144)
|
||||||
|
-max-price float
|
||||||
|
set max price (default 297)
|
||||||
|
-max-ram int
|
||||||
|
set max ram (default 256)
|
||||||
|
-min-benchmark int
|
||||||
|
set min benchmark
|
||||||
|
-min-hdd-count int
|
||||||
|
set min hdd count
|
||||||
|
-min-hdd-size int
|
||||||
|
set min hdd size
|
||||||
|
-min-price float
|
||||||
|
set min price
|
||||||
|
-min-ram int
|
||||||
|
set min ram
|
||||||
|
-notifier-password string
|
||||||
|
set notifier password
|
||||||
|
-notifier-recipient string
|
||||||
|
set notifier recipient
|
||||||
|
-notifier-sender string
|
||||||
|
set notifier sender
|
||||||
|
|
||||||
|
````
|
18
main.go
18
main.go
|
@ -64,24 +64,6 @@ var (
|
||||||
"set max benchmark",
|
"set max benchmark",
|
||||||
)
|
)
|
||||||
|
|
||||||
notifierSender = flag.String(
|
|
||||||
"notifier-sender",
|
|
||||||
"",
|
|
||||||
"set notifier sender",
|
|
||||||
)
|
|
||||||
|
|
||||||
notifierPassword = flag.String(
|
|
||||||
"notifier-password",
|
|
||||||
"",
|
|
||||||
"set notifier password",
|
|
||||||
)
|
|
||||||
|
|
||||||
notifierRecipient = flag.String(
|
|
||||||
"notifier-recipient",
|
|
||||||
"",
|
|
||||||
"set notifier recipient",
|
|
||||||
)
|
|
||||||
|
|
||||||
alertOnScore = flag.Int(
|
alertOnScore = flag.Int(
|
||||||
"alert-on-score",
|
"alert-on-score",
|
||||||
0,
|
0,
|
||||||
|
|
Reference in a new issue