diff --git a/bkctld b/bkctld index ddd2d0a..38ab963 100755 --- a/bkctld +++ b/bkctld @@ -9,23 +9,25 @@ # usage(){ - echo "Usage: $0 [options]" - echo "Subcommands:" - echo " init Init jail " - echo " update |all Update jail or all" - echo " remove |all Remove jail or all" - echo " start |all Start jail or all" - echo " stop |all Stop jail or all" - echo " reload |all Reload jail or all" - echo " restart |all Restart jail or all" - echo " sync |all Sync jail or all to another node" - echo " status [] Print status of (default all jail)" - echo " key [] Set or get ssh pubic key of " - echo " port [|auto] Set or get ssh port of " - echo " ip [|all] Set or get allowed(s) ip(s) of " - echo " inc Make incremental inc of all jails" - echo " rm Remove old incremtal inc of all jails" - echo "" + cat < [options] +Subcommands: + init Init jail + update |all Update jail or all + remove |all Remove jail or all + start |all Start jail or all + stop |all Stop jail or all + reload |all Reload jail or all + restart |all Restart jail or all + sync |all Sync jail or all to another node + status [] Print status of (default all jail) + key [] Set or get ssh pubic key of + port [|auto] Set or get ssh port of + ip [|all] Set or get allowed(s) ip(s) of + inc Make incremental inc of all jails + rm Remove old incremtal inc of all jails + +EOF } ## logging functions