From 9586b59606edcf3538428c16680a2a6eb2d7969d Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Wed, 9 Oct 2024 12:18:23 +0200 Subject: Rename config.max_freq to config.target_freq and make texts consistent with that --- argparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'argparse.c') diff --git a/argparse.c b/argparse.c index 9f702f0..e9d16c4 100644 --- a/argparse.c +++ b/argparse.c @@ -55,7 +55,7 @@ void printhelp() " Default: all\n" "-s Step size in Khz when increasing/decreasing CPU speed\n" " Default: %ld\n" - "-t Temperature limit\n" + "-t Target temperature\n" " Default: %ld\n" "\n" "Logging options:\n" @@ -72,7 +72,7 @@ void printhelp() "-h Display this help text\n" "-v Display version and license information\n", config.name,config.fallback_freq,config.governor,config.temp_input,config.interval, - config.freq_step,config.max_temp/1000,config.logger_name + config.freq_step,config.target_temp/1000,config.logger_name ); } @@ -177,7 +177,7 @@ void argparse(int argc, char **argv) userconfig.freq_step=strtoll(optarg,NULL,10); break; case 't': - userconfig.max_temp=strtoll(optarg,NULL,10)*1000; + userconfig.target_temp=strtoll(optarg,NULL,10)*1000; break; case 'u': userconfig.use_unixtime=1; -- cgit v1.2.3