| Server IP : 185.143.233.238 / Your IP : 185.215.232.195 Web Server : nginx/1.22.1 System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# appdata-validate(1) completion -*- shell-script -*-
_appdata_validate()
{
local cur prev words cword split
_init_completion -s || return
case $prev in
-h | --help | --version)
return
;;
--output-format)
COMPREPLY=($(compgen -W "$($1 --help |
command sed -ne 's/--output-format.*\[\(.*\)\]/\1/' -e 's/|/ /gp')" \
-- "$cur"))
return
;;
esac
$split && return
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
return
fi
_filedir appdata.xml
} &&
complete -F _appdata_validate appdata-validate
# ex: filetype=sh