removed obsolete flags

This commit is contained in:
Mahmoud Rahbar Azad 2018-10-25 20:47:29 +02:00
parent d64d5e1ee5
commit 8f1463b2ef
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 7DBBD39E2BFEB784
2 changed files with 33 additions and 18 deletions

33
Readme.md Normal file
View 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
View file

@ -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,