Fix typo in "smarctl"

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
Michael Hanselmann 2023-01-31 13:35:39 +01:00
parent d5aa2289fe
commit c3600bef43
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man). -h, --help Show context-sensitive help (also try --help-long and --help-man).
--smartctl.path="/usr/sbin/smartctl" --smartctl.path="/usr/sbin/smartctl"
The path to the smartctl binary The path to the smartctl binary
--smartctl.interval=60s The interval between smarctl polls --smartctl.interval=60s The interval between smartctl polls
--smartctl.device=SMARTCTL.DEVICE ... --smartctl.device=SMARTCTL.DEVICE ...
The device to monitor (repeatable) The device to monitor (repeatable)
--smartctl.device-exclude="" --smartctl.device-exclude=""

View file

@ -64,7 +64,7 @@ var (
"The path to the smartctl binary", "The path to the smartctl binary",
).Default("/usr/sbin/smartctl").String() ).Default("/usr/sbin/smartctl").String()
smartctlInterval = kingpin.Flag("smartctl.interval", smartctlInterval = kingpin.Flag("smartctl.interval",
"The interval between smarctl polls", "The interval between smartctl polls",
).Default("60s").Duration() ).Default("60s").Duration()
smartctlDevices = kingpin.Flag("smartctl.device", smartctlDevices = kingpin.Flag("smartctl.device",
"The device to monitor (repeatable)", "The device to monitor (repeatable)",