From fa20f603834ef9febe396c058c9d775038f4a28b Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Wed, 24 May 2023 08:33:53 +0200 Subject: Add logging functions --- argparse.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'argparse.c') diff --git a/argparse.c b/argparse.c index 01b6c57..7246d31 100644 --- a/argparse.c +++ b/argparse.c @@ -4,6 +4,7 @@ #include #include "cputemp2maxfreq.h" #include "debug.h" +#include "logger.h" extern struct s_config config; @@ -20,14 +21,16 @@ void printhelp() "-h Display this help text\n" "-i Input for temperature readout, usually somewhere in sysfs\n" " Default: %s\n" + "-l Logger to use, valid values: none, kmsg, stdout, syslog\n" + " Default: %s\n" "-p