summaryrefslogtreecommitdiff
path: root/completions/ipsec
diff options
context:
space:
mode:
Diffstat (limited to 'completions/ipsec')
-rw-r--r--completions/ipsec33
1 files changed, 16 insertions, 17 deletions
diff --git a/completions/ipsec b/completions/ipsec
index a586a786..b1161b0a 100644
--- a/completions/ipsec
+++ b/completions/ipsec
@@ -19,22 +19,21 @@ _ipsec_freeswan()
_init_completion || return
if [[ $cword -eq 1 ]]; then
- COMPREPLY=( $( compgen -W 'auto barf eroute klipsdebug look manual \
- pluto ranbits rsasigkey setup showdefaults showhostkey spi spigrp \
+ COMPREPLY=( $( compgen -W 'auto barf eroute klipsdebug look manual
+ pluto ranbits rsasigkey setup showdefaults showhostkey spi spigrp
tncfg whack' -- "$cur" ) )
return 0
fi
case ${words[1]} in
auto)
- COMPREPLY=( $( compgen -W '--asynchronous --up --add --delete \
- --replace --down --route --unroute \
- --ready --status --rereadsecrets' \
- -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '--asynchronous --up --add --delete
+ --replace --down --route --unroute --ready --status
+ --rereadsecrets' -- "$cur" ) )
;;
manual)
- COMPREPLY=( $( compgen -W '--up --down --route --unroute \
- --union' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '--up --down --route --unroute --union' \
+ -- "$cur" ) )
;;
ranbits)
COMPREPLY=( $( compgen -W '--quick --continuous --bytes' \
@@ -56,14 +55,14 @@ _ipsec_strongswan()
_init_completion || return
if [[ $cword -eq 1 ]]; then
- COMPREPLY=( $( compgen -W 'down irdumm leases listaacerts listacerts \
- listalgs listall listcacerts listcainfos listcards listcerts \
+ COMPREPLY=( $( compgen -W 'down irdumm leases listaacerts listacerts
+ listalgs listall listcacerts listcainfos listcards listcerts
listcrls listgroups listocsp listocspcerts listpubkeys openac pki
- pluto pool purgecerts purgecrls purgeike purgeocsp ready reload \
- rereadaacerts rereadacerts rereadall rereadcacerts rereadcrls \
- rereadgroups rereadocspcerts rereadsecrets restart route scdecrypt \
- scencrypt scepclient secrets start starter status statusall stop \
- stroke unroute uci up update version whack --confdir --copyright \
+ pluto pool purgecerts purgecrls purgeike purgeocsp ready reload
+ rereadaacerts rereadacerts rereadall rereadcacerts rereadcrls
+ rereadgroups rereadocspcerts rereadsecrets restart route scdecrypt
+ scencrypt scepclient secrets start starter status statusall stop
+ stroke unroute uci up update version whack --confdir --copyright
--directory --help --version --versioncode' -- "$cur" ) )
return 0
fi
@@ -77,11 +76,11 @@ _ipsec_strongswan()
COMPREPLY=( $( compgen -W '--utc' -- "$cur" ) )
;;
restart|start)
- COMPREPLY=( $( compgen -W '--attach-gdb --auto-update --debug \
+ COMPREPLY=( $( compgen -W '--attach-gdb --auto-update --debug
--debug-all --debug-more --nofork' -- "$cur" ) )
;;
pki)
- COMPREPLY=( $( compgen -W '--gen --issue --keyid --print --pub \
+ COMPREPLY=( $( compgen -W '--gen --issue --keyid --print --pub
--req --self --signcrl --verify' -- "$cur" ) )
;;
pool)