Sync usage with manual
Make spacing, wrapping as well as argument names match. Much nicer to read on default 80-char wide xterm.
This commit is contained in:
parent
f7aed1accb
commit
df93f44eb7
5
main.c
5
main.c
|
@ -68,7 +68,10 @@ void quit_gracefully(int signum) {
|
|||
}
|
||||
|
||||
void usage(void) {
|
||||
printf("obsdfreqd [-h] [-v] [-i cycles] [-l min_freq] [-m max_freq] [-d percent_down_freq_step] [-r threshold] [-s percent_freq_step] [-t milliseconds]\n");
|
||||
fprintf(stderr,
|
||||
"obsdfreqd [-hv] [-d downstepfrequency] [-i inertia] [-m maxfrequency]\n"
|
||||
" [-l minfrequency] [-r threshold] [-s stepfrequency]\n"
|
||||
" [-t timefreq] [-T maxtemperature]\n");
|
||||
}
|
||||
|
||||
/* switch to wall profile */
|
||||
|
|
|
@ -6,15 +6,14 @@
|
|||
.Nd manage the CPU frequency on OpenBSD from userland
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl v
|
||||
.Op Fl h
|
||||
.Op Fl hv
|
||||
.Op Fl d Ar downstepfrequency
|
||||
.Op Fl i Ar inertia
|
||||
.Op Fl m Ar maxfrequency
|
||||
.Op Fl l Ar minfrequency
|
||||
.Op Fl r Ar threshold
|
||||
.Op Fl s Ar stepfrequency
|
||||
.Op Fl t Ar timefreq
|
||||
.Op Fl t Ar timefrequency
|
||||
.Op Fl T Ar maxtemperature
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
|
@ -45,7 +44,7 @@ Defines the minimum frequency in percent the CPU can be reduced to.
|
|||
Defines the CPU usage in percent above which the frequency is increased.
|
||||
.It Fl s Ar stepfrequency
|
||||
Defines the frequency increase step in percent.
|
||||
.It Fl t Ar timefreq
|
||||
.It Fl t Ar timefrequency
|
||||
Defines the time in milliseconds between each cycle.
|
||||
.It Fl T Ar maxtemperature
|
||||
Defines the maximum temperature in Celcius
|
||||
|
|
Reference in New Issue