ipsec: Update usage output
This commit is contained in:
+17
-18
@@ -46,37 +46,36 @@ IPSEC_DISTRO="Institute for Internet Technologies and Applications\nUniversity o
|
||||
|
||||
case "$1" in
|
||||
'')
|
||||
echo "Usage: $IPSEC_SCRIPT command argument ..."
|
||||
echo "Use --help for list of commands, or see $IPSEC_SCRIPT(8) manual "
|
||||
echo "page or the $IPSEC_NAME documentation for names of the common "
|
||||
echo "ones."
|
||||
echo "See <http://www.strongswan.org> for more general info."
|
||||
echo "$IPSEC_SCRIPT command [arguments]"
|
||||
echo
|
||||
echo "Use --help for a list of commands, or refer to the $IPSEC_SCRIPT(8) man page."
|
||||
echo "See <http://www.strongswan.org> for more general information."
|
||||
exit 0
|
||||
;;
|
||||
--help)
|
||||
echo "Usage: $IPSEC_SCRIPT command argument ..."
|
||||
echo "where command is one of:"
|
||||
echo " start|restart arguments..."
|
||||
echo "$IPSEC_SCRIPT command [arguments]"
|
||||
echo
|
||||
echo "Commands:"
|
||||
echo " start|restart [arguments]"
|
||||
echo " update|reload|stop"
|
||||
echo " up|down|route|unroute <connectionname>"
|
||||
echo " down-srcip <start> [<end>]"
|
||||
echo " status|statusall [<connectionname>]"
|
||||
echo " listalgs|listpubkeys|listcerts [--utc]"
|
||||
echo " listcacerts|listaacerts|listocspcerts [--utc]"
|
||||
echo " listacerts|listgroups|listcainfos [--utc]"
|
||||
echo " listcrls|listocsp|listcards|listplugins|listall [--utc]"
|
||||
echo " listcrls|listocsp|listplugins|listall [--utc]"
|
||||
echo " listcounters|resetcounters [name]"
|
||||
echo " leases [<poolname> [<address>]]"
|
||||
echo " rereadsecrets|rereadgroups"
|
||||
echo " rereadcacerts|rereadaacerts|rereadocspcerts"
|
||||
echo " rereadacerts|rereadcrls|rereadall"
|
||||
echo " purgeocsp|purgecrls|purgecerts|purgeike"
|
||||
echo " scepclient"
|
||||
echo " secrets"
|
||||
echo " starter"
|
||||
echo " rereadsecrets|rereadcacerts|rereadaacerts"
|
||||
echo " rereadocspcerts|rereadacerts|rereadcrls|rereadall"
|
||||
echo " purgecerts|purgecrls|purgeike|purgeocsp"
|
||||
echo " scepclient|pki"
|
||||
echo " starter|stroke"
|
||||
echo " version"
|
||||
echo " stroke"
|
||||
echo
|
||||
echo "Some of these functions have their own manual pages, e.g. scepclient(8)."
|
||||
echo "Refer to the $IPSEC_SCRIPT(8) man page for details."
|
||||
echo "Some commands have their own man pages, e.g. pki(1) or scepclient(8)."
|
||||
exit 0
|
||||
;;
|
||||
--versioncode)
|
||||
|
||||
Reference in New Issue
Block a user