Merge pull request #109 from hansmi/typo1

Fix typo in "smarctl"
This commit is contained in:
Ben Kochie 2023-02-14 11:41:18 +01:00 committed by GitHub
commit 7d206388fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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).
--smartctl.path="/usr/sbin/smartctl"
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 ...
The device to monitor (repeatable)
--smartctl.device-exclude=""

View file

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