ndctl, bash-completion: add completion for {start, wait}-scrub commands
Vishal Verma
maintainerPATCH 1/1 ndctl, bash-completion: add completion for {start, wait}-scrub commands
Complete the new ARS control commands with the available buses (and 'all') for non-option arguments.
Signed-off-by Vishal Verma <[email protected]>
--- contrib/ndctl | 5 +++++ 1 file changed, 5 insertions(+)
contrib/ndctl +5 -0
@@ -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 ;;
Signature · 6 lines
2.14.3 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm