From 710b99c54e1dd62fe73241ae1eecf02e0a306fcb Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Thu, 10 Oct 2024 23:58:12 +0200 Subject: [PATCH] better help message] --- bmon.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bmon.c b/bmon.c index 17d2797..d4b0eef 100644 --- a/bmon.c +++ b/bmon.c @@ -16,7 +16,12 @@ int dead = 0; void usage (void) { - printf("usage: bmon [-wuh] [-f file] [-t interval]\n"); + printf("usage: bmon [-wuh] [-f file] [-t interval]\n" + "-w\tDisplay power draw from battery\n" + "-u\tPrint seconds as epoch\n" + "-h\tPrint this message\n" + "-f\tWrite output to file\n" + "-t\tSet the update interval in seconds\n"); } void int_handler (int signum)