summaryrefslogtreecommitdiffstats
path: root/completions/ecryptfs-migrate-home
blob: d2eeb381bb7b4d8827c530f6341a1c442b6495eb (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