]> git.ipfire.org Git - thirdparty/util-linux.git/blob - bash-completion/fsck.minix
su: use lib/pty-session.c code for --pty
[thirdparty/util-linux.git] / bash-completion / fsck.minix
1 _fsck.minix_module()
2 {
3 local cur OPTS
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 case $cur in
7 -*)
8 OPTS="--list --auto --repair --verbose --super --uncleared --force --help --version"
9 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
10 return 0
11 ;;
12 esac
13 compopt -o bashdefault -o default
14 COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
15 return 0
16 }
17 complete -F _fsck.minix_module fsck.minix