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