# (C) 2010 magicant

# Completion script for the "umask" built-in command.

function completion/umask {

        typeset OPTIONS ARGOPT PREFIX
        OPTIONS=( #>#
        "S --symbolic; produce a symbolic output"
        "--help"
        ) #<#

        command -f completion//parseoptions -es
        case $ARGOPT in
        (-)
                command -f completion//completeoptions
                ;;
        (*)
                if command -vf completion/chmod::mode >/dev/null 2>&1 ||
                                . -AL completion/chmod; then
                        command -f completion/chmod::mode umask
                fi
                ;;
        esac

}


# vim: set ft=sh ts=8 sts=8 sw=8 et:
