Discussion:
[smartmontools-support] [PATCH] smartctl.8: Fix documentation of the -q option
Jean Delvare
2017-03-08 15:09:32 UTC
Permalink
The documentation announces two options for -q, but then lists three.
I suppose there used to be only two, and the sentence was not updated
when a third option was added. Remove the reference to the number of
options, as it isn't really needed, to avoid similar inconsistency in
the future.
---
 smartctl.8.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/smartctl.8.in
+++ b/smartctl.8.in
@@ -284,7 +284,7 @@ Get non-SMART device settings.  See \'\-
 .B RUN-TIME BEHAVIOR OPTIONS:
 .TP
 .B \-q TYPE, \-\-quietmode=TYPE
-Specifies that \fBsmartctl\fP should run in one of the two quiet modes
+Specifies that \fBsmartctl\fP should run in one of the quiet modes
 described here.  The valid arguments to this option are:
 
 .I errorsonly
--
Jean Delvare
SUSE L3 Support
Christian Franke
2017-03-09 20:54:46 UTC
Permalink
Post by Jean Delvare
The documentation announces two options for -q, but then lists three.
I suppose there used to be only two, and the sentence was not updated
when a third option was added.
Indeed - third option 'noserial' was added July 2007 (r2417).
Post by Jean Delvare
Remove the reference to the number of
options, as it isn't really needed, to avoid similar inconsistency in
the future.
Patch applied in r4404.

Thanks,
Christian

Loading...