aboutsummaryrefslogtreecommitdiffstats
path: root/argparse.c
diff options
context:
space:
mode:
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;