Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix option lists in man page and help message #132

Merged
merged 5 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/message.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,13 @@ template<class ErrT, class... ArgTs> 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]]]" \
vmatare marked this conversation as resolved.
Show resolved Hide resolved
"\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)." \
Expand Down
2 changes: 1 addition & 1 deletion src/thinkfan.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
thinkfan \- A simple fan control program
.SH SYNOPSIS
.SY thinkfan
.OP \-hnqzDd
.OP \-hnqDd
vmatare marked this conversation as resolved.
Show resolved Hide resolved
.OP \-b BIAS
.OP \-c CONFIG
.OP \-s SECONDS
Expand Down