fix help
This commit is contained in:
20
README
20
README
@ -6,7 +6,7 @@ NAME
|
||||
btw - battery watchdog
|
||||
|
||||
SYNOPSIS
|
||||
btw [-c|--crit value] [-p|--preriod seconds] [-l|--log file]
|
||||
btw [-c|--crit level] [-p|--preriod seconds] [-l|--log file]
|
||||
[-j|--syslog] [-s|--summary text] [-b|--body text] [-w|--watch]
|
||||
btw --help
|
||||
btw --version
|
||||
@ -21,15 +21,17 @@ OPTIONS
|
||||
-h, --help
|
||||
Print this help message and exit.
|
||||
|
||||
-c, --crit value
|
||||
Battery critical value in percents [default: 10]
|
||||
-c, --crit level
|
||||
Battery critical level in percents [default: 10]
|
||||
|
||||
-p, --preriod seconds
|
||||
Battery check out period in seconds [default: 30]
|
||||
|
||||
-l, --log file
|
||||
Log file [default: ~/.cache/btw.log] -j, --syslog Use logger in-
|
||||
stead of log file.
|
||||
Log file [default: ~/.cache/btw.log]
|
||||
|
||||
-j, --syslog
|
||||
Use logger instead of log file.
|
||||
|
||||
-s, --summary text
|
||||
Custom notification title text.
|
||||
@ -41,7 +43,7 @@ OPTIONS
|
||||
Follow to the log file (tail -f).
|
||||
|
||||
INVOKING
|
||||
Run watchdog in background. See application autostart options for your
|
||||
Run watchdog in background. See application autostart options for your
|
||||
desktop environment or init system. For example add in your ~/.xinitrc:
|
||||
|
||||
btw &
|
||||
@ -79,13 +81,13 @@ LOGGING
|
||||
|
||||
EXAMPLES
|
||||
btw will send notification at every battery checkout while current bat-
|
||||
tery level is lower than critical value. For example, with following
|
||||
tery level is lower than critical level. For example, with following
|
||||
command:
|
||||
|
||||
btw -c 15 -p 30
|
||||
|
||||
you will recieve notification every 30 seconds until battery is under
|
||||
10%. You can set up custom notification text via --summary and --body
|
||||
you will recieve notification every 30 seconds until battery is under
|
||||
15%. You can set up custom notification text via --summary and --body
|
||||
options.
|
||||
|
||||
Variables can be used in notification:
|
||||
|
Reference in New Issue
Block a user