14 lines
310 B
Bash
Executable File
14 lines
310 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function autocomp_mordhau_start_server {
|
|
local cur opts
|
|
COMPREPLY=()
|
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
opts="--preserve"
|
|
if [ ${COMP_CWORD} -eq 2 ]; then
|
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
return 0
|
|
fi
|
|
}
|
|
complete -F autocomp_mordhau_start_server Mordhau-Start-Server
|