From 2944824dbd026ec6686d9f3777e02f0c8022a8c8 Mon Sep 17 00:00:00 2001 From: Calvin Walden Date: Sat, 24 Apr 2021 23:05:23 -0500 Subject: [PATCH 1/3] Fix minor typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 934763f..d8c96c8 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ To compile thinkfan, you will need to have the following things installed: 2. Then configure your build, either interactively: ```bash - ccmake .. + cmake .. ``` Or set your build options from the command line. E.g. to configure a build with full debugging support: From 339d2261c1baea48c2bcbce4b616bc9f63669f5b Mon Sep 17 00:00:00 2001 From: Calvin Walden Date: Sat, 24 Apr 2021 23:22:26 -0500 Subject: [PATCH 2/3] Synchronize argument options lists between manpage and help message --- src/message.h | 3 ++- src/thinkfan.1 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/message.h b/src/message.h index 1e8c0af..1817b5a 100644 --- a/src/message.h +++ b/src/message.h @@ -115,12 +115,13 @@ template void error(const ArgTs &... args) { #define MSG_TITLE "thinkfan " VERSION ": A minimalist fan control program" #define MSG_USAGE \ - "Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]" \ + "Usage: thinkfan [-hnqDd [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]" \ "\n -h This help message" \ "\n -s Maximum cycle time in seconds (Integer. Default: 5)" \ "\n -b Floating point number (-10 to 30) to control rising temperature" \ "\n exaggeration (see README). Default: 5.0" \ "\n -c Load different configuration file (default: /etc/thinkfan.conf)" \ + "\n -n Do not become a daemon and log to terminal instead of syslog" \ "\n -q Be more quiet. Can be specified up to three times so that only errors" \ "\n are logged." \ "\n -v Enable verbose logging (e.g. log temperatures continuously)." \ diff --git a/src/thinkfan.1 b/src/thinkfan.1 index 14f5f3d..556cea6 100644 --- a/src/thinkfan.1 +++ b/src/thinkfan.1 @@ -3,7 +3,7 @@ thinkfan \- A simple fan control program .SH SYNOPSIS .SY thinkfan -.OP \-hnqzDd +.OP \-hnqDd .OP \-b BIAS .OP \-c CONFIG .OP \-s SECONDS From fb1873c3e180d07313e8ee27164812cfdac42920 Mon Sep 17 00:00:00 2001 From: Calvin Walden Date: Mon, 13 Sep 2021 19:24:22 -0500 Subject: [PATCH 3/3] Revert correction in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d8c96c8..934763f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ To compile thinkfan, you will need to have the following things installed: 2. Then configure your build, either interactively: ```bash - cmake .. + ccmake .. ``` Or set your build options from the command line. E.g. to configure a build with full debugging support: