bin/check-smart.rb in sensu-plugins-disk-checks-3.1.1 vs bin/check-smart.rb in sensu-plugins-disk-checks-4.0.0
- old
+ new
@@ -110,10 +110,10 @@
proc: proc(&:to_sym),
default: :unknown,
in: %i[unknown ok warn critical]
option :no_smart_capable_disks,
- long: '--no-smart-capable-disks EXIT_CODE',
+ long: '--zero-smart-capable-disks EXIT_CODE',
description: 'Exit code when there are no SMART capable disks',
proc: proc(&:to_sym),
default: :unknown,
in: %i[unknown ok warn critical]