Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.191.198.245
# chage(1) completion -*- shell-script -*-
_chage()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
--lastday | --expiredate | --help | --inactive | --mindays | --maxdays | \
--warndays | -!(-*)[dEhImMW])
return
;;
--root | -!(-*)R)
_filedir -d
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: filetype=sh
|