#include #include #include #include #include "cputemp2maxfreq.h" #include "debug.h" #include "logger.h" extern struct s_config config; void printhelp() { printf( "Usage: cputemp2maxfreq \n" "\n" "Options:\n" "-f Fallback frequency in KHz, used when everything fails\n" " Default: %ld\n" "-g cpufreq governor to use, use \"keep\" to keep current governor\n" " Default: %s\n" "-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" "-m Log measurements (CPU temperature and frequency)\n" "-p