Skip to content

Commit

Permalink
Module update
Browse files Browse the repository at this point in the history
  • Loading branch information
pepa65 committed Sep 26, 2023
1 parent 5c8923a commit e3e959d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![GoDoc](https://godoc.org/github.com/pepa65/bat?status.svg)](https://godoc.org/github.com/pepa65/bat)
![Continuous Integration](https://github.com/pepa65/bat/actions/workflows/ci.yaml/badge.svg)

# bat v0.12.0
# bat v0.12.1
**Manage battery charge limit**

* Repo: github.com/pepa65/bat
Expand All @@ -11,7 +11,7 @@
* Required: Linux-5.4-rc1+ systemd-244+

```
bat v0.12.0 - Manage battery charge limit
bat v0.12.1 - Manage battery charge limit
Repo: github.com/pepa65/bat
Usage: bat <option>
Options (every option except 's[tatus]' needs root privileges):
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/pepa65/bat

go 1.20

require golang.org/x/sys v0.12.0
2 changes: 0 additions & 2 deletions go.sum

This file was deleted.

4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
version = "0.12.0"
version = "0.12.1"
years = "2023"
prefix = "chargelimit-"
syspath = "/sys/class/power_supply/"
Expand Down Expand Up @@ -249,7 +249,7 @@ func main() {
errexit("failure to remove unit file '" + file + "'")
}
}
fmt.Println("[%s] Persistence of charge limit removed\n", bat)
fmt.Printf("[%s] Persistence of charge limit removed\n", bat)
case "l", "limit", "-l", "--limit":
if limit == "" {
limit = os.Args[2]
Expand Down

0 comments on commit e3e959d

Please sign in to comment.