aboutsummaryrefslogtreecommitdiffstats
path: root/argparse.c
diff options
context:
space:
mode:
authorPA4WDH2024-07-28 14:45:59 +0200
committerPA4WDH2024-07-28 14:45:59 +0200
commit36162d6931aaaf56c60c2e1c77cd3cdc2eba8363 (patch)
tree6bb22ce09315d14a5b7fb4ba2e5178d1b5dd9450 /argparse.c
parentFLush after writes to CSV file (diff)
downloadcputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.tar.gz
cputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.tar.bz2
cputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.zip
Add autodetection for temperature input
Diffstat (limited to 'argparse.c')
-rw-r--r--argparse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/argparse.c b/argparse.c
index 124f3bc..1eae42b 100644
--- a/argparse.c
+++ b/argparse.c
@@ -20,7 +20,10 @@ void printhelp()
" Default: %ld\n"
"-g <governor> cpufreq governor to use, use \"keep\" to keep current governor\n"
" Default: %s\n"
- "-i <file> Input for temperature readout, usually somewhere in sysfs\n"
+ "-i <sensor> Input for temperature readout, this can be specified as:\n"
+ " A full path that starts with /, usually somewhere in sysfs\n"
+ " A sensor name, for example \"Core 0\"\n"
+ " The word \"auto\" autodetects a valid sensor\n"
" Default: %s\n"
"-p <time> Poll interval in seconds\n"
" Default: %d\n"