feat: improve help

This commit is contained in:
ptrcnull 2023-11-02 21:02:52 +01:00
parent f5101f8915
commit b57cbba805
Signed by untrusted user: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -22,7 +22,8 @@ pub fn main() !void {
\\Usage: bat-alert [options] \\Usage: bat-alert [options]
\\ \\
\\Options: \\Options:
\\ -t, --target NUM Target battery level \\ -t, --target NUM Target battery level (default: 15)
\\ --battery NAME Battery name (default: BAT0)
\\ \\
, .{}); , .{});
std.process.exit(0); std.process.exit(0);