Complete the new ARS control commands with the available buses (and
'all') for non-option arguments.
Signed-off-by: Vishal Verma <vishal.l.verma(a)intel.com>
---
contrib/ndctl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/contrib/ndctl b/contrib/ndctl
index a3a8675..7a99baf 100755
--- a/contrib/ndctl
+++ b/contrib/ndctl
@@ -290,6 +290,11 @@ __ndctl_comp_non_option_args()
inject-smart)
opts="$(__ndctl_get_dimms -i)"
;;
+ wait-scrub)
+ ;&
+ start-scrub)
+ opts="$(__ndctl_get_buses) all"
+ ;;
*)
return
;;
--
2.14.3
Show replies by date