Skip to content

Commit b5dc853

Browse files
committed
even more doc changes, including line-length fixes
1 parent 5d1bead commit b5dc853

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

doc/hdapsd.man

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hdapsd \- park the drive in case of an emergency
1111
.SS "Additional options:"
1212
.TP
1313
\fB\-s\fR \fB\-\-sensitivity=\fR\fI<sensitivity>\fR
14-
How sensitive should we be to movements.
14+
How sensitive hdapsd should be to movements.
1515
Defaults to 15, higher values mean less sensitive.
1616
.TP
1717
\fB\-a\fR \fB\-\-adaptive\fR

src/hdapsd.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,20 @@ void usage()
331331
printf(" to protect multiple devices.\n");
332332
printf("\n");
333333
printf("Additional options:\n");
334-
printf(" -s --sensitivity=<sensitivity> How sensitive should we be to movements.\n");
335-
printf(" Defaults to 15, higher values mean less sensitive.\n");
336-
printf(" -a --adaptive Adaptive threshold (automatic\n");
337-
printf(" increase when the built-in\n");
338-
printf(" keyboard/mouse are used).\n");
334+
printf(" -s --sensitivity=<sensitivity> How sensitive "PACKAGE_NAME" should be to movements.\n");
335+
printf(" Defaults to 15, higher value means less\n");
336+
printf(" sensitive.\n");
337+
printf(" -a --adaptive Adaptive threshold (automatic increase\n");
338+
printf(" when the built-in keyboard/mouse are used).\n");
339339
printf(" -v --verbose Get verbose statistics.\n");
340340
printf(" -b --background Run the process in the background.\n");
341341
printf(" -p --pidfile[=<pidfile>] Create a pid file when running\n");
342342
printf(" in background.\n");
343343
printf(" If <pidfile> is not specified,\n");
344344
printf(" it's set to %s.\n", PID_FILE);
345345
printf(" -t --dry-run Don't actually park the drive.\n");
346-
printf(" -y --poll-sysfs Force use of sysfs interface to accelerometer.\n");
346+
printf(" -y --poll-sysfs Force use of sysfs interface to\n");
347+
printf(" accelerometer.\n");
347348
printf(" -l --syslog Log to syslog instead of stdout/stderr.\n");
348349
printf("\n");
349350
printf(" -V --version Display version information and exit.\n");

0 commit comments

Comments
 (0)