# bash completion for unscrambler                               -*- shell-script -*-
# shellcheck shell=bash
#
# GENERATED by scripts/completions/gen.py from saramibreak/unscrambler at ffbf48a271e734c8fd34128d76d4c0b6c51f541f.
# Do not edit: change the generator, then run `scripts/completions/gen.py write`.
#
# unscrambler (installed with DiscImageCreator): <input .raw> <output> <type>

_mediapres_unscrambler()
{
    # shellcheck disable=SC2034  # words is filled in by _init_completion
    local cur prev words cword
    _init_completion || return

    case $cword in
        1) _filedir raw ;;
        2) _filedir ;;
        3) mapfile -t COMPREPLY < <(compgen -W '0 1 2 3 4 5' -- "$cur") ;;
    esac
} &&
    complete -F _mediapres_unscrambler unscrambler

# ex: filetype=sh
