removed obsolete flags

This commit is contained in:
Mahmoud Rahbar Azad 2018-10-25 20:47:29 +02:00
parent d64d5e1ee5
commit 8f1463b2ef
No known key found for this signature in database
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",
)
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(
"alert-on-score",
0,