diff --git a/main.go b/main.go index d24823f..400f25e 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,6 @@ func notify(msg string) { var targetFlag = flag.Int("target", 15, "when to send the alert") -func main() { - flag.Parse() sent := false for { capacity, err := os.ReadFile("/sys/class/power_supply/BAT0/capacity") diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +