23 lines
499 B
Bash

# ecryptfs-migrate-home(8) completion -*- shell-script -*-
_ecryptfs_migrate_home()
{
local cur prev words cword
_init_completion || return
case $prev in
--help)
return
;;
--user | -u)
COMPREPLY=($(compgen -u -- "$cur"))
return
;;
esac
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
} &&
complete -F _ecryptfs_migrate_home ecryptfs-migrate-home
# ex: filetype=sh