forked from I2P_Developers/i2p.i2p
13 lines
337 B
Plaintext
13 lines
337 B
Plaintext
|
_i2prouter()
|
||
|
{
|
||
|
local cur prev opts
|
||
|
_init_completion || return
|
||
|
|
||
|
COMPREPLY=()
|
||
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
||
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||
|
opts="console start stop graceful restart condrestart status install remove dump"
|
||
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||
|
}
|
||
|
complete -F _i2prouter i2prouter
|