/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4
completions/chage
26 строк
593 B
Ville Skyttä
*: Remove redundant return 0's
12 авг 2016, 19:53
12 авг 2016, 19:53
8611927
Код
Авторство
О чём код?
# chage(1) completion -*- shell-script -*- _chage() { local cur prev words cword split _init_completion -s || return case $prev in -d|--lastday|-E|--expiredate|-h|--help|-I|--inactive|-m|--mindays|\ -M|--maxdays|-W|--warndays) return ;; esac $split && return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) return fi COMPREPLY=( $( compgen -u -- "$cur" ) ) } && complete -F _chage chage # ex: ts=4 sw=4 et filetype=sh