diff options
author | PA4WDH | 2024-10-09 12:18:23 +0200 |
---|---|---|
committer | PA4WDH | 2024-10-09 12:18:23 +0200 |
commit | 9586b59606edcf3538428c16680a2a6eb2d7969d (patch) | |
tree | d425b3eb3b3fbd6996c1a0a645ba91498d0e4d50 /argparse.c | |
parent | Read scaling_max_freq every poll interval (diff) | |
download | cputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.tar.gz cputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.tar.bz2 cputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.zip |
Rename config.max_freq to config.target_freq and make texts consistent with that0.7
Diffstat (limited to 'argparse.c')
-rw-r--r-- | argparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ void printhelp() " Default: all\n" "-s <step> Step size in Khz when increasing/decreasing CPU speed\n" " Default: %ld\n" - "-t <number> Temperature limit\n" + "-t <number> 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; |