summaryrefslogtreecommitdiff
path: root/completions/ecryptfs-migrate-home
blob: bad0962e4e3d90b6952566f4aaa1dc192b39bf5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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