aboutsummaryrefslogtreecommitdiffstats
path: root/argparse.c
diff options
context:
space:
mode:
authorPA4WDH2024-10-09 12:18:23 +0200
committerPA4WDH2024-10-09 12:18:23 +0200
commit9586b59606edcf3538428c16680a2a6eb2d7969d (patch)
treed425b3eb3b3fbd6996c1a0a645ba91498d0e4d50 /argparse.c
parentRead scaling_max_freq every poll interval (diff)
downloadcputemp2maxfreq-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.c6
1 files changed, 3 insertions, 3 deletions
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> 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;