Przeglądaj źródła

issue #57 upper case arguments to improve readability

Serghey Rodin 13 lat temu
rodzic
commit
2b520fad1d
100 zmienionych plików z 199 dodań i 199 usunięć
  1. 2 2
      bin/v-add-cron-job
  2. 1 1
      bin/v-add-cron-report
  3. 2 2
      bin/v-add-database
  4. 2 2
      bin/v-add-database-server
  5. 2 2
      bin/v-add-dns-domain
  6. 2 2
      bin/v-add-dns-domain-record
  7. 2 2
      bin/v-add-dns-on-web-alias
  8. 2 2
      bin/v-add-mail-account
  9. 2 2
      bin/v-add-mail-account-alias
  10. 2 2
      bin/v-add-mail-account-autoreply
  11. 2 2
      bin/v-add-mail-account-forward
  12. 2 2
      bin/v-add-mail-domain
  13. 2 2
      bin/v-add-mail-domain-antispam
  14. 2 2
      bin/v-add-mail-domain-antivirus
  15. 2 2
      bin/v-add-mail-domain-catchall
  16. 2 2
      bin/v-add-mail-domain-dkim
  17. 2 2
      bin/v-add-sys-ip
  18. 2 2
      bin/v-add-user
  19. 2 2
      bin/v-add-user-backup
  20. 2 2
      bin/v-add-user-package
  21. 2 2
      bin/v-add-web-domain
  22. 2 2
      bin/v-add-web-domain-alias
  23. 2 2
      bin/v-add-web-domain-cgi
  24. 2 2
      bin/v-add-web-domain-elog
  25. 2 2
      bin/v-add-web-domain-ftp
  26. 2 2
      bin/v-add-web-domain-nginx
  27. 2 2
      bin/v-add-web-domain-ssl
  28. 2 2
      bin/v-add-web-domain-stats
  29. 2 2
      bin/v-add-web-domain-stats-user
  30. 2 2
      bin/v-backup-user
  31. 1 1
      bin/v-backup-users
  32. 2 2
      bin/v-change-cron-job
  33. 2 2
      bin/v-change-database-password
  34. 2 2
      bin/v-change-dns-domain-exp
  35. 2 2
      bin/v-change-dns-domain-ip
  36. 2 2
      bin/v-change-dns-domain-record
  37. 2 2
      bin/v-change-dns-domain-soa
  38. 2 2
      bin/v-change-dns-domain-tpl
  39. 2 2
      bin/v-change-dns-domain-ttl
  40. 2 2
      bin/v-change-mail-account-password
  41. 2 2
      bin/v-change-mail-account-quota
  42. 2 2
      bin/v-change-mail-domain-catchall
  43. 2 2
      bin/v-change-sys-config-value
  44. 2 2
      bin/v-change-sys-ip-name
  45. 2 2
      bin/v-change-sys-ip-owner
  46. 2 2
      bin/v-change-sys-ip-status
  47. 2 2
      bin/v-change-user-contact
  48. 2 2
      bin/v-change-user-name
  49. 2 2
      bin/v-change-user-ns
  50. 2 2
      bin/v-change-user-package
  51. 2 2
      bin/v-change-user-password
  52. 2 2
      bin/v-change-user-shell
  53. 2 2
      bin/v-change-user-template
  54. 2 2
      bin/v-change-web-domain-ftp
  55. 2 2
      bin/v-change-web-domain-ip
  56. 2 2
      bin/v-change-web-domain-nginx-tpl
  57. 2 2
      bin/v-change-web-domain-sslcert
  58. 2 2
      bin/v-change-web-domain-sslhome
  59. 2 2
      bin/v-change-web-domain-stats
  60. 2 2
      bin/v-change-web-domain-tpl
  61. 2 2
      bin/v-delete-cron-job
  62. 2 2
      bin/v-delete-cron-reports
  63. 2 2
      bin/v-delete-database
  64. 2 2
      bin/v-delete-database-server
  65. 2 2
      bin/v-delete-databases
  66. 2 2
      bin/v-delete-dns-domain
  67. 2 2
      bin/v-delete-dns-domain-record
  68. 2 2
      bin/v-delete-dns-domains
  69. 2 2
      bin/v-delete-dns-on-web-alias
  70. 2 2
      bin/v-delete-mail-account
  71. 2 2
      bin/v-delete-mail-account-alias
  72. 2 2
      bin/v-delete-mail-account-autoreply
  73. 2 2
      bin/v-delete-mail-account-forward
  74. 2 2
      bin/v-delete-mail-domain
  75. 2 2
      bin/v-delete-mail-domain-antispam
  76. 2 2
      bin/v-delete-mail-domain-antivirus
  77. 2 2
      bin/v-delete-mail-domain-catchall
  78. 2 2
      bin/v-delete-mail-domain-dkim
  79. 2 2
      bin/v-delete-mail-domains
  80. 2 2
      bin/v-delete-sys-ip
  81. 2 2
      bin/v-delete-user
  82. 2 2
      bin/v-delete-user-backup
  83. 2 2
      bin/v-delete-user-ips
  84. 2 2
      bin/v-delete-user-package
  85. 2 2
      bin/v-delete-web-domain
  86. 2 2
      bin/v-delete-web-domain-alias
  87. 2 2
      bin/v-delete-web-domain-cgi
  88. 2 2
      bin/v-delete-web-domain-elog
  89. 2 2
      bin/v-delete-web-domain-ftp
  90. 2 2
      bin/v-delete-web-domain-nginx
  91. 2 2
      bin/v-delete-web-domain-ssl
  92. 2 2
      bin/v-delete-web-domain-stats
  93. 2 2
      bin/v-delete-web-domain-stats-user
  94. 2 2
      bin/v-delete-web-domains
  95. 2 2
      bin/v-get-dns-domain-value
  96. 2 2
      bin/v-get-mail-account-value
  97. 2 2
      bin/v-get-mail-domain-value
  98. 2 2
      bin/v-get-user-value
  99. 2 2
      bin/v-get-web-domain-value
  100. 3 3
      bin/v-list-cron-job

+ 2 - 2
bin/v-add-cron-job

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add cron job
 # info: add cron job
-# options: user min hour day month wday command [job]
+# options: USER MIN HOUR DAY MONTH WDAY COMMAND [JOB]
 #
 #
 # The function adds a job to cron daemon. When executing commands, any output
 # The function adds a job to cron daemon. When executing commands, any output
 # is  mailed to user's email if parameter REPORTS is set to 'yes'.
 # is  mailed to user's email if parameter REPORTS is set to 'yes'.
@@ -32,7 +32,7 @@ A7="$command"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '7' "$#" 'user min hour day month wday command [job]'
+check_args '7' "$#" 'USER MIN HOUR DAY MONTH WDAY COMMAND [JOB]'
 validate_format 'user' 'min' 'hour' 'day' 'month' 'wday' 'command'
 validate_format 'user' 'min' 'hour' 'day' 'month' 'wday' 'command'
 is_system_enabled $CRON_SYSTEM
 is_system_enabled $CRON_SYSTEM
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 1 - 1
bin/v-add-cron-report

@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$CRON_SYSTEM"
 is_system_enabled "$CRON_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-database

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add database
 # info: add database
-# options: user database dbuser dbpass type [host] [charset]
+# options: USER DATABASE DBUSER DBPASS TYPE [HOST] [CHARSET]
 #
 #
 # The function creates the database concatenating username  and user_db.
 # The function creates the database concatenating username  and user_db.
 # Supported yypes of databases you can get using v-list-sys-config script.
 # Supported yypes of databases you can get using v-list-sys-config script.
@@ -40,7 +40,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '5' "$#" 'user database dbuser dbpass type [host] [charset]'
+check_args '5' "$#" 'USER DATABASE DBUSER DBPASS TYPE [HOST] [CHARSET]'
 validate_format 'user' 'database' 'dbuser' 'dbpass' 'charset'
 validate_format 'user' 'database' 'dbuser' 'dbpass' 'charset'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"
 is_type_valid "$DB_SYSTEM" "$type"
 is_type_valid "$DB_SYSTEM" "$type"

+ 2 - 2
bin/v-add-database-server

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add new database server
 # info: add new database server
-# options: type host port dbuser dbpass [max_db] [charsets] [template]
+# options: TYPE HOST PORT DBUSER DBPASS [MAX_DB] [CHARSETS] [TEMPLATE]
 #
 #
 # The function add new database server to the server pool. It supports local
 # The function add new database server to the server pool. It supports local
 # and remote database servers, which is useful for clusters. By adding a host
 # and remote database servers, which is useful for clusters. By adding a host
@@ -36,7 +36,7 @@ max_db=${6-500}
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-args_usage='type host port dbuser dbpass [max_db] [charsets] [tpl]'
+args_usage='TYPE HOST PORT DBUSER DBPASS [MAX_DB] [CHARSETS] [TPL]'
 check_args '5' "$#" "$args_usage"
 check_args '5' "$#" "$args_usage"
 validate_format 'host' 'port' 'dbuser' 'dbpass' 'max_db' 'charsets' 'template'
 validate_format 'host' 'port' 'dbuser' 'dbpass' 'max_db' 'charsets' 'template'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"

+ 2 - 2
bin/v-add-dns-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add dns domain
 # info: add dns domain
-# options: user domain ip [template] [ns1] [ns2] [ns3] [ns4] [restart]
+# options: USER DOMAIN IP [TEMPLATE] [NS1] [NS2] [NS3] [NS4] [RESTART]
 #
 #
 # The function adds DNS zone with records defined in the template. If the exp
 # The function adds DNS zone with records defined in the template. If the exp
 # argument isn't stated, the expiration date value will be set to next year.
 # argument isn't stated, the expiration date value will be set to next year.
@@ -37,7 +37,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ip [template] [ns1] [ns2] [ns3] [ns4]'
+check_args '3' "$#" 'USER DOMAIN IP [TEMPLATE] [NS1] [NS2] [NS3] [NS4]'
 validate_format 'user' 'domain' 'ip'
 validate_format 'user' 'domain' 'ip'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-dns-domain-record

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add dns domain record
 # info: add dns domain record
-# options: user domain record type value [priority] [id] [restart]
+# options: USER DOMAIN RECORD TYPE VALUE [PRIORITY] [ID] [RESTART]
 #
 #
 # The call is used for adding new DNS record. Complex records of TXT, MX and
 # The call is used for adding new DNS record. Complex records of TXT, MX and
 # SRV types can be used by a filling in the 'value' argument. The function also
 # SRV types can be used by a filling in the 'value' argument. The function also
@@ -36,7 +36,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '5' "$#" 'user domain record type value [priority] [id] [restart]'
+check_args '5' "$#" 'USER DOMAIN RECORD TYPE VALUE [PRIORITY] [ID] [RESTART]'
 validate_format 'user' 'domain' 'record' 'rtype' 'dvalue'
 validate_format 'user' 'domain' 'record' 'rtype' 'dvalue'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-dns-on-web-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add dns domain or dns record based on web domain alias restart
 # info: add dns domain or dns record based on web domain alias restart
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function adds dns domain or dns record based on web domain alias.
 # The function adds dns domain or dns record based on web domain alias.
 
 
@@ -29,7 +29,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain alias'
+check_args '3' "$#" 'USER DOMAIN ALIAS'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"

+ 2 - 2
bin/v-add-mail-account

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain account
 # info: add mail domain account
-# options: user domain account password [quota]
+# options: USER DOMAIN ACCOUNT PASSWORD [QUOTA]
 #
 #
 # The function add new email account.
 # The function add new email account.
 
 
@@ -33,7 +33,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account password [quota]'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT PASSWORD [QUOTA]'
 validate_format 'user' 'domain' 'account' 'password' 'quota'
 validate_format 'user' 'domain' 'account' 'password' 'quota'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-account-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail account alias aka nickname
 # info: add mail account alias aka nickname
-# options: user domain account alias
+# options: USER DOMAIN ACCOUNT ALIAS
 #
 #
 # The function add new email alias.
 # The function add new email alias.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account alias'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT ALIAS'
 validate_format 'user' 'domain' 'account' 'malias'
 validate_format 'user' 'domain' 'account' 'malias'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-account-autoreply

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail account autoreply message
 # info: add mail account autoreply message
-# options: user domain account message
+# options: USER DOMAIN ACCOUNT MESSAGE
 #
 #
 # The function add new email account.
 # The function add new email account.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account message'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT MESSAGE'
 validate_format 'user' 'domain' 'account' 'autoreply'
 validate_format 'user' 'domain' 'account' 'autoreply'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-account-forward

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail account forward address
 # info: add mail account forward address
-# options: user domain account forward
+# options: USER DOMAIN ACCOUNT FORWARD
 #
 #
 # The function add new email account.
 # The function add new email account.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account forward'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT FORWARD'
 validate_format 'user' 'domain' 'account' 'forward'
 validate_format 'user' 'domain' 'account' 'forward'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain
 # info: add mail domain
-# options: user domain [antispam] [antivirus] [dkim] [dkim_size]
+# options: USER DOMAIN [ANTISPAM] [ANTIVIRUS] [DKIM] [DKIM_SIZE]
 #
 #
 # The function adds MAIL domain.
 # The function adds MAIL domain.
 
 
@@ -30,7 +30,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain [antispam] [antivirus] [dkim] [dkim_size]'
+check_args '2' "$#" 'USER DOMAIN [ANTISPAM] [ANTIVIRUS] [DKIM] [DKIM_SIZE]'
 validate_format 'user' 'domain' 'antispam' 'antivirus' 'dkim' 'dkim_size'
 validate_format 'user' 'domain' 'antispam' 'antivirus' 'dkim' 'dkim_size'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-domain-antispam

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain antispam support
 # info: add mail domain antispam support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function enables spamassasin for incomming emails.
 # The function enables spamassasin for incomming emails.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-domain-antivirus

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain antivirus support
 # info: add mail domain antivirus support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function enables clamav scan for incomming emails.
 # The function enables clamav scan for incomming emails.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-domain-catchall

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain catchall account
 # info: add mail domain catchall account
-# options: user domain email
+# options: USER DOMAIN EMAIL
 #
 #
 # The function enables catchall account for incomming emails. 
 # The function enables catchall account for incomming emails. 
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain email'
+check_args '3' "$#" 'USER DOMAIN EMAIL'
 validate_format 'user' 'domain' 'email'
 validate_format 'user' 'domain' 'email'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-mail-domain-dkim

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add mail domain dkim support
 # info: add mail domain dkim support
-# options: user domain [dkim_size]
+# options: USER DOMAIN [DKIM_SIZE]
 #
 #
 # The function adds DKIM signature to outgoing domain emails.
 # The function adds DKIM signature to outgoing domain emails.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain [dkim_size]'
+check_args '2' "$#" 'USER DOMAIN [DKIM_SIZE]'
 validate_format 'user' 'domain' 'dkim_size'
 validate_format 'user' 'domain' 'dkim_size'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-sys-ip

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add system ip address
 # info: add system ip address
-# options: ip mask [interface] [user] [ip_status] [ip_name]
+# options: IP MASK [INTERFACE] [USER] [IP_STATUS] [IP_NAME]
 #
 #
 # The function adds ip address into a system. It also creates rc scripts. You
 # The function adds ip address into a system. It also creates rc scripts. You
 # can specify ip name which will be used as root domain for temporary aliases.
 # can specify ip name which will be used as root domain for temporary aliases.
@@ -33,7 +33,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'ip mask [interface] [user] [ip_status] [ip_name]'
+check_args '2' "$#" 'IP MASK [INTERFACE] [USER] [IP_STATUS] [IP_NAME]'
 validate_format 'ip' 'mask' 'interface' 'user' 'ip_status'
 validate_format 'ip' 'mask' 'interface' 'user' 'ip_status'
 is_ip_free
 is_ip_free
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add system user
 # info: add system user
-# options: user password email [package] [fname] [lname]
+# options: USER PASSWORD EMAIL [PACKAGE] [FNAME] [LNAME]
 #
 #
 # The function creates new user account.
 # The function creates new user account.
 
 
@@ -40,7 +40,7 @@ is_user_free() {
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user password email [package] [fname] [lname]'
+check_args '3' "$#" 'USER PASSWORD EMAIL [PACKAGE] [FNAME] [LNAME]'
 validate_format 'user' 'password' 'email' 'package'
 validate_format 'user' 'password' 'email' 'package'
 if [ ! -z "$fname" ]; then
 if [ ! -z "$fname" ]; then
     validate_format 'fname' 'lname'
     validate_format 'fname' 'lname'

+ 2 - 2
bin/v-add-user-backup

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: schedule user backup creation
 # info: schedule user backup creation
-# options: user
+# options: USER
 #
 #
 # The function for scheduling user backup creation.
 # The function for scheduling user backup creation.
 
 
@@ -21,7 +21,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$BACKUP_SYSTEM"
 is_system_enabled "$BACKUP_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-user-package

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: adding user package
 # info: adding user package
-# options: pkg_dir package [rewrite]
+# options: PKG_DIR PACKAGE [REWRITE]
 #
 #
 # The function adds new user package to the system.
 # The function adds new user package to the system.
 
 
@@ -47,7 +47,7 @@ is_package_consistent() {
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'pkg_dir package' 'rewrite'
+check_args '2' "$#" 'PKG_DIR PACKAGE' 'rewrite'
 validate_format 'pkg_dir' 'package'
 validate_format 'pkg_dir' 'package'
 if [ "$rewrite" != 'yes' ]; then
 if [ "$rewrite" != 'yes' ]; then
     is_package_new
     is_package_new

+ 2 - 2
bin/v-add-web-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add web domain
 # info: add web domain
-# options: user domain ip [template] [restart]
+# options: USER DOMAIN IP [TEMPLATE] [RESTART]
 #
 #
 # The function adds virtual host to a server. In cases when a template is
 # The function adds virtual host to a server. In cases when a template is
 # undefined in the script, the template "default" will be used. The alias of
 # undefined in the script, the template "default" will be used. The alias of
@@ -35,7 +35,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ip [template] [restart]'
+check_args '3' "$#" 'USER DOMAIN IP [TEMPLATE] [RESTART]'
 validate_format 'user' 'domain' 'ip'
 validate_format 'user' 'domain' 'ip'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add web domain alias
 # info: add web domain alias
-# options: user domain alias [restart]
+# options: USER DOMAIN ALIAS [RESTART]
 #
 #
 # The call is intended for adding aliases to a domain (it is also called
 # The call is intended for adding aliases to a domain (it is also called
 # "domain parking"). The function supports wildcards *.domain.tpl.
 # "domain parking"). The function supports wildcards *.domain.tpl.
@@ -31,7 +31,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain dom_alias [restart]'
+check_args '3' "$#" 'USER DOMAIN DOM_ALIAS [RESTART]'
 validate_format 'user' 'domain' 'dom_alias'
 validate_format 'user' 'domain' 'dom_alias'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-cgi

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add cgi support for domain
 # info: add cgi support for domain
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function switches on cgi support by adding +ExecCGI directive into
 # The function switches on cgi support by adding +ExecCGI directive into
 # webserver configuration file. The use of this function is provided for
 # webserver configuration file. The use of this function is provided for
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-elog

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add error logging for domain
 # info: add error logging for domain
-# options: user domain [restart]
+# options: USER DOMAIN [RESTART]
 #
 #
 # The function enables a separate ErrorLog file for a domain, accessible for
 # The function enables a separate ErrorLog file for a domain, accessible for
 # reading by users.
 # reading by users.
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain [restart]'
+check_args '2' "$#" 'USER DOMAIN [RESTART]'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-ftp

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add ftp account for web domain.
 # info: add ftp account for web domain.
-# options: user domain ftp_user ftp_password
+# options: USER DOMAIN FTP_USER FTP_PASSWORD
 #
 #
 # The function creates addutional ftp account for web domain.
 # The function creates addutional ftp account for web domain.
 
 
@@ -30,7 +30,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain ftp_user ftp_password'
+check_args '4' "$#" 'USER DOMAIN FTP_USER FTP_PASSWORD'
 validate_format 'user' 'domain' 'ftp_user' 'ftp_password'
 validate_format 'user' 'domain' 'ftp_user' 'ftp_password'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-nginx

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add webdomain nginx support
 # info: add webdomain nginx support
-# options: user domain [template] [extentions] [restart]
+# options: USER DOMAIN [TEMPLATE] [EXTENTIONS] [RESTART]
 #
 #
 # The function enables nginx support for a domain. It can significantly improve
 # The function enables nginx support for a domain. It can significantly improve
 # website speed.
 # website speed.
@@ -30,7 +30,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain [template] [extentions] [restart]'
+check_args '2' "$#" 'USER DOMAIN [TEMPLATE] [EXTENTIONS] [RESTART]'
 validate_format 'user' 'domain' 'extentions'
 validate_format 'user' 'domain' 'extentions'
 is_system_enabled "$PROXY_SYSTEM"
 is_system_enabled "$PROXY_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-ssl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: adding ssl for domain
 # info: adding ssl for domain
-# options: user domain ssl_dir [ssl_home] [restart]
+# options: USER DOMAIN SSL_DIR [SSL_HOME] [RESTART]
 #
 #
 # The function turns on SSL support for a domain. Parameter ssl_dir is a path
 # The function turns on SSL support for a domain. Parameter ssl_dir is a path
 # to directory where 2 or 3 ssl files can be found. Certificate file 
 # to directory where 2 or 3 ssl files can be found. Certificate file 
@@ -33,7 +33,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ssl_dir [ssl_home] [restart]'
+check_args '3' "$#" 'USER DOMAIN SSL_DIR [SSL_HOME] [RESTART]'
 validate_format 'user' 'domain' 'ssl_dir'
 validate_format 'user' 'domain' 'ssl_dir'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-add-web-domain-stats

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add log analyzer to generate domain statitics
 # info: add log analyzer to generate domain statitics
-# options: user domain type
+# options: USER DOMAIN TYPE
 #
 #
 # The call is used for enabling log analyzer system to a domain.  At this time
 # The call is used for enabling log analyzer system to a domain.  At this time
 # two types of these system is supported - awstats and webalizer. For viewing
 # two types of these system is supported - awstats and webalizer. For viewing
@@ -29,7 +29,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain type'
+check_args '3' "$#" 'USER DOMAIN TYPE'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_type_valid "$STATS_SYSTEM" "$type"
 is_type_valid "$STATS_SYSTEM" "$type"

+ 2 - 2
bin/v-add-web-domain-stats-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add password protection to web domain statistics
 # info: add password protection to web domain statistics
-# options: user domain stats_user stats_password
+# options: USER DOMAIN STATS_USER STATS_PASSWORD
 #
 #
 # The call is used for securing the web statistics page.
 # The call is used for securing the web statistics page.
 
 
@@ -30,7 +30,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain stats_user stats_pass'
+check_args '4' "$#" 'USER DOMAIN STATS_USER STATS_PASS'
 validate_format 'user' 'domain' 'stats_user' 'stats_pass'
 validate_format 'user' 'domain' 'stats_user' 'stats_pass'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-backup-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: backup system user with all its objects
 # info: backup system user with all its objects
-# options: user
+# options: USER
 #
 #
 # The call is used for backing up user with all its domains and databases.
 # The call is used for backing up user with all its domains and databases.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/db.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$BACKUP_SYSTEM"
 is_system_enabled "$BACKUP_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 1 - 1
bin/v-backup-users

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: backup all users
 # info: backup all users
-# options: none
+# options: NONE
 #
 #
 # The function backups all system users.
 # The function backups all system users.
 
 

+ 2 - 2
bin/v-change-cron-job

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change cron job
 # info: change cron job
-# options: user job min hour day month wday command
+# options: USER JOB MIN HOUR DAY MONTH WDAY COMMAND
 #
 #
 # The function is used for changing existing job. It fully replace job
 # The function is used for changing existing job. It fully replace job
 # parameters with new one but with same id.
 # parameters with new one but with same id.
@@ -29,7 +29,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '7' "$#" 'user job min hour day month wday command'
+check_args '7' "$#" 'USER JOB MIN HOUR DAY MONTH WDAY COMMAND'
 validate_format 'user' 'job' 'min' 'hour' 'day' 'month' 'wday' 'command' 
 validate_format 'user' 'job' 'min' 'hour' 'day' 'month' 'wday' 'command' 
 is_system_enabled $CRON_SYSTEM
 is_system_enabled $CRON_SYSTEM
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-database-password

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change database password
 # info: change database password
-# options: user database dbpass
+# options: USER DATABASE DBPASS
 #
 #
 # The function for changing database user  password to a database. It uses the
 # The function for changing database user  password to a database. It uses the
 # full name of database as argument.
 # full name of database as argument.
@@ -30,7 +30,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user database dbpass'
+check_args '3' "$#" 'USER DATABASE DBPASS'
 validate_format 'user' 'database' 'dbpass'
 validate_format 'user' 'database' 'dbpass'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-exp

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain expiriation date
 # info: change dns domain expiriation date
-# options: user domain exp
+# options: USER DOMAIN EXP
 #
 #
 # The function of changing the term of expiration domain's registration. The
 # The function of changing the term of expiration domain's registration. The
 # serial number will be refreshed automatically during update.
 # serial number will be refreshed automatically during update.
@@ -25,7 +25,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain exp'
+check_args '3' "$#" 'USER DOMAIN EXP'
 validate_format 'user' 'domain' 'exp'
 validate_format 'user' 'domain' 'exp'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-ip

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain ip address
 # info: change dns domain ip address
-# options: user domain ip
+# options: USER DOMAIN IP
 #
 #
 # The function for changing the main ip of DNS zone.
 # The function for changing the main ip of DNS zone.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ip'
+check_args '3' "$#" 'USER DOMAIN IP'
 validate_format 'user' 'domain' 'ip'
 validate_format 'user' 'domain' 'ip'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-record

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain record
 # info: change dns domain record
-# options: user domain id value [priority]
+# options: USER DOMAIN ID VALUE [PRIORITY]
 #
 #
 # The function for changing DNS record.
 # The function for changing DNS record.
 
 
@@ -29,7 +29,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain id value [priority]'
+check_args '4' "$#" 'USER DOMAIN ID VALUE [PRIORITY]'
 validate_format 'user' 'domain' 'id' 'dvalue'
 validate_format 'user' 'domain' 'id' 'dvalue'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-soa

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain soa record
 # info: change dns domain soa record
-# options: user domain soa
+# options: USER DOMAIN SOA
 #
 #
 # The function for changing SOA record. This type of records can not be
 # The function for changing SOA record. This type of records can not be
 # modified by v-change-dns-domain-record call.
 # modified by v-change-dns-domain-record call.
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain soa'
+check_args '3' "$#" 'USER DOMAIN SOA'
 validate_format 'user' 'domain' 'soa'
 validate_format 'user' 'domain' 'soa'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-tpl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain template
 # info: change dns domain template
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function for changing the template of records. By updating old records
 # The function for changing the template of records. By updating old records
 # will be removed and new records will be generated in accordance with
 # will be removed and new records will be generated in accordance with
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain template'
+check_args '3' "$#" 'USER DOMAIN TEMPLATE'
 validate_format 'user' 'domain' 'template'
 validate_format 'user' 'domain' 'template'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-dns-domain-ttl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change dns domain ttl
 # info: change dns domain ttl
-# options: user domain ttl
+# options: USER DOMAIN TTL
 #
 #
 # The function for chaning the time to live TTL parameter for all records.
 # The function for chaning the time to live TTL parameter for all records.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ttl'
+check_args '3' "$#" 'USER DOMAIN TTL'
 validate_format 'user' 'domain' 'ttl'
 validate_format 'user' 'domain' 'ttl'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-mail-account-password

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change mail account password
 # info: change mail account password
-# options: user domain account password
+# options: USER DOMAIN ACCOUNT PASSWORD
 #
 #
 # The function changes email account password.
 # The function changes email account password.
 
 
@@ -32,7 +32,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account password'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT PASSWORD'
 validate_format 'user' 'domain' 'account' 'password'
 validate_format 'user' 'domain' 'account' 'password'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-mail-account-quota

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change mail account quota
 # info: change mail account quota
-# options: user domain account quota
+# options: USER DOMAIN ACCOUNT QUOTA
 #
 #
 # The function changes email account disk quota.
 # The function changes email account disk quota.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account quota'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT QUOTA'
 validate_format 'user' 'domain' 'account' 'quota'
 validate_format 'user' 'domain' 'account' 'quota'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-mail-domain-catchall

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change mail domain catchall email
 # info: change mail domain catchall email
-# options: user domain email
+# options: USER DOMAIN EMAIL
 #
 #
 # The function changes mail domain cathcall.
 # The function changes mail domain cathcall.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain email'
+check_args '3' "$#" 'USER DOMAIN EMAIL'
 validate_format 'user' 'domain' 'email'
 validate_format 'user' 'domain' 'email'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-sys-config-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change sysconfig value
 # info: change sysconfig value
-# options: key value
+# options: KEY VALUE
 #
 #
 # The function is for changing main config settings such as COMPANY_NAME or
 # The function is for changing main config settings such as COMPANY_NAME or
 # COMPANY_EMAIL and so on.
 # COMPANY_EMAIL and so on.
@@ -23,7 +23,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'key value'
+check_args '2' "$#" 'KEY VALUE'
 validate_format 'key'
 validate_format 'key'
 check_ckey=$(grep "^$key='" $VESTA/conf/vesta.conf)
 check_ckey=$(grep "^$key='" $VESTA/conf/vesta.conf)
 if [ -z "$check_ckey" ]; then
 if [ -z "$check_ckey" ]; then

+ 2 - 2
bin/v-change-sys-ip-name

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change ip name
 # info: change ip name
-# options: ip name
+# options: IP NAME
 #
 #
 # The function for changing dns domain associated with ip.
 # The function for changing dns domain associated with ip.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'ip ip_name'
+check_args '2' "$#" 'IP IP_NAME'
 validate_format 'ip' 'ip_name'
 validate_format 'ip' 'ip_name'
 is_ip_valid
 is_ip_valid
 
 

+ 2 - 2
bin/v-change-sys-ip-owner

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change ip owner
 # info: change ip owner
-# options: ip user
+# options: IP USER
 #
 #
 # The function of changing ip address ownership.
 # The function of changing ip address ownership.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'ip user'
+check_args '2' "$#" 'IP USER'
 validate_format 'ip' 'user'
 validate_format 'ip' 'user'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-sys-ip-status

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change ip status
 # info: change ip status
-# options: ip ip_status
+# options: IP IP_STATUS
 #
 #
 # The function of changing an ip address's status.
 # The function of changing an ip address's status.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'ip ip_status'
+check_args '2' "$#" 'IP IP_STATUS'
 validate_format 'ip' 'ip_status'
 validate_format 'ip' 'ip_status'
 is_ip_valid
 is_ip_valid
 if [ "$ip_status" = "$(get_ip_value '$STATUS')" ]; then
 if [ "$ip_status" = "$(get_ip_value '$STATUS')" ]; then

+ 2 - 2
bin/v-change-user-contact

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user contact email
 # info: change user contact email
-# options: user email
+# options: USER EMAIL
 #
 #
 # The function for changing of e-mail associated with a certain user.
 # The function for changing of e-mail associated with a certain user.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user email'
+check_args '2' "$#" 'USER EMAIL'
 validate_format 'user' 'email'
 validate_format 'user' 'email'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-user-name

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user full name
 # info: change user full name
-# options: user fname lname
+# options: USER FNAME LNAME
 #
 #
 # The function allow to change user's full name.
 # The function allow to change user's full name.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user fname lname'
+check_args '3' "$#" 'USER FNAME LNAME'
 validate_format 'user' 'fname' 'lname'
 validate_format 'user' 'fname' 'lname'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-user-ns

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user nameservers
 # info: change user nameservers
-# options: user ns1 ns2 [ns3] [ns4]
+# options: USER NS1 NS2 [NS3] [NS4]
 #
 #
 # The function for changing default nameservers for speciefic user.
 # The function for changing default nameservers for speciefic user.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/main.sh
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
 # Checking args
 # Checking args
-check_args '3' "$#" 'user ns1 ns2 [ns3] [ns4]'
+check_args '3' "$#" 'USER NS1 NS2 [NS3] [NS4]'
 
 
 # Checking argument format
 # Checking argument format
 validate_format 'user' 'ns1' 'ns2' 
 validate_format 'user' 'ns1' 'ns2' 

+ 2 - 2
bin/v-change-user-package

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user package
 # info: change user package
-# options: user package [force]
+# options: USER PACKAGE [FORCE]
 #
 #
 # The function changes user's hosting package.
 # The function changes user's hosting package.
 
 
@@ -116,7 +116,7 @@ DATE='$DATE'" > $USER_DATA/user.conf
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user package [force]'
+check_args '2' "$#" 'USER PACKAGE [FORCE]'
 validate_format 'user' 'package'
 validate_format 'user' 'package'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_package_valid
 is_package_valid

+ 2 - 2
bin/v-change-user-password

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user password
 # info: change user password
-# options: user password
+# options: USER PASSWORD
 #
 #
 # The function changes user's password and updates RKEY value.
 # The function changes user's password and updates RKEY value.
 
 
@@ -27,7 +27,7 @@ EVENT="$EVENT A4='$A4' A5='$A5' A6='$A6' A7='$A7' A8='$A8' A9='$A9'"
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user password'
+check_args '2' "$#" 'USER PASSWORD'
 validate_format 'user' 'password'
 validate_format 'user' 'password'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-user-shell

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user shell
 # info: change user shell
-# options: user shell
+# options: USER SHELL
 #
 #
 # The function changes system shell of a user. Shell gives abilty to use ssh.
 # The function changes system shell of a user. Shell gives abilty to use ssh.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user shell'
+check_args '2' "$#" 'USER SHELL'
 validate_format 'user' 'shell'
 validate_format 'user' 'shell'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-user-template

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change user default template
 # info: change user default template
-# options: user template
+# options: USER TEMPLATE
 #
 #
 # The function changes default user web template.
 # The function changes default user web template.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user template'
+check_args '2' "$#" 'USER TEMPLATE'
 validate_format 'user' 'template'
 validate_format 'user' 'template'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-web-domain-ftp

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: add ftp account for web domain.
 # info: add ftp account for web domain.
-# options: user domain ftp_user ftp_password
+# options: USER DOMAIN FTP_USER FTP_PASSWORD
 #
 #
 # The function creates addutional ftp account for web domain.
 # The function creates addutional ftp account for web domain.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain ftp_user ftp_password'
+check_args '4' "$#" 'USER DOMAIN FTP_USER FTP_PASSWORD'
 validate_format 'user' 'domain' 'ftp_user' 'ftp_password'
 validate_format 'user' 'domain' 'ftp_user' 'ftp_password'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-web-domain-ip

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change web domain ip address
 # info: change web domain ip address
-# options: user domain ip [restart]
+# options: USER DOMAIN IP [RESTART]
 #
 #
 # The call is used for changing the site ip address. The ip change will be
 # The call is used for changing the site ip address. The ip change will be
 # performed for a virtual apache host and for a configuration nginx file both.
 # performed for a virtual apache host and for a configuration nginx file both.
@@ -28,7 +28,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ip [restart]'
+check_args '3' "$#" 'USER DOMAIN IP [RESTART]'
 validate_format 'user' 'domain' 'ip'
 validate_format 'user' 'domain' 'ip'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-web-domain-nginx-tpl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change web domain nginx template
 # info: change web domain nginx template
-# options: user domain template [extentions] [restart]
+# options: USER DOMAIN TEMPLATE [EXTENTIONS] [RESTART]
 #
 #
 # The function changes template of nginx.conf configuration file. The content
 # The function changes template of nginx.conf configuration file. The content
 # of webdomain directories remains untouched.
 # of webdomain directories remains untouched.
@@ -31,7 +31,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain template [extentions] [restart]'
+check_args '3' "$#" 'USER DOMAIN TEMPLATE [EXTENTIONS] [RESTART]'
 validate_format 'user' 'domain' 'template'
 validate_format 'user' 'domain' 'template'
 is_system_enabled "$PROXY_SYSTEM"
 is_system_enabled "$PROXY_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-web-domain-sslcert

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change domain ssl certificate
 # info: change domain ssl certificate
-# options: user domain ssl_dir
+# options: USER DOMAIN SSL_DIR
 #
 #
 # The function changes SSL domain certificate and the key. If ca file present
 # The function changes SSL domain certificate and the key. If ca file present
 # it will be replaced as well.
 # it will be replaced as well.
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ssl_dir'
+check_args '3' "$#" 'USER DOMAIN SSL_DIR'
 validate_format 'user' 'domain' 'ssl_dir'
 validate_format 'user' 'domain' 'ssl_dir'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-change-web-domain-sslhome

@@ -21,7 +21,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain ssl_home'
+check_args '3' "$#" 'USER DOMAIN SSL_HOME'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
@@ -48,7 +48,7 @@ case $SSL_HOME in
             old="$HOMEDIR/$user/web/$domain/public_html" ;;
             old="$HOMEDIR/$user/web/$domain/public_html" ;;
     same)   new="$HOMEDIR/$user/web/$domain/public_html" ;
     same)   new="$HOMEDIR/$user/web/$domain/public_html" ;
             old="$HOMEDIR/$user/web/$domain/public_shtml" ;;
             old="$HOMEDIR/$user/web/$domain/public_shtml" ;;
-    *)      check_args '3' "2" 'user domain sslhome'
+    *)      check_args '3' "2" 'USER DOMAIN SSLHOME'
 esac
 esac
 
 
 # Changing sslhome directory
 # Changing sslhome directory

+ 2 - 2
bin/v-change-web-domain-stats

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change web domain statistics
 # info: change web domain statistics
-# options: user domain type
+# options: USER DOMAIN TYPE
 #
 #
 # The function of deleting site's system of statistics. Its type is
 # The function of deleting site's system of statistics. Its type is
 # automatically chooses from client's configuration file.
 # automatically chooses from client's configuration file.
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain type'
+check_args '3' "$#" 'USER DOMAIN TYPE'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_type_valid "$STATS_SYSTEM" "$type"
 is_type_valid "$STATS_SYSTEM" "$type"

+ 2 - 2
bin/v-change-web-domain-tpl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: change web domain template
 # info: change web domain template
-# options: user domain template [restart]
+# options: USER DOMAIN TEMPLATE [RESTART]
 #
 #
 # The function changes template of httpd.conf configuration file. The content
 # The function changes template of httpd.conf configuration file. The content
 # of webdomain directories remains untouched.
 # of webdomain directories remains untouched.
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain template [restart]'
+check_args '3' "$#" 'USER DOMAIN TEMPLATE [RESTART]'
 validate_format 'user' 'domain' 'template'
 validate_format 'user' 'domain' 'template'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-cron-job

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete cron job
 # info: delete cron job
-# options: user job
+# options: USER JOB
 #
 #
 # The function deletes cron job.
 # The function deletes cron job.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user job'
+check_args '2' "$#" 'USER JOB'
 validate_format 'user' 'job'
 validate_format 'user' 'job'
 is_system_enabled "$CRON_SYSTEM"
 is_system_enabled "$CRON_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-cron-reports

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete cron reports
 # info: delete cron reports
-# options: user
+# options: USER
 #
 #
 # The script for disabling reports on cron tasks and administrative
 # The script for disabling reports on cron tasks and administrative
 # notifications.
 # notifications.
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$CRON_SYSTEM"
 is_system_enabled "$CRON_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-database

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete database
 # info: delete database
-# options: user database
+# options: USER DATABASE
 #
 #
 # The function for deleting the database. If database user have access to
 # The function for deleting the database. If database user have access to
 # another database, he will not be deleted.
 # another database, he will not be deleted.
@@ -24,7 +24,7 @@ source $VESTA/func/db.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user database'
+check_args '2' "$#" 'USER DATABASE'
 validate_format 'user' 'database'
 validate_format 'user' 'database'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-database-server

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete database server
 # info: delete database server
-# options: type host
+# options: TYPE HOST
 #
 #
 # The function for deleting the database host from vesta configuration. It will
 # The function for deleting the database host from vesta configuration. It will
 # be deleted if there are no databases created on it only.
 # be deleted if there are no databases created on it only.
@@ -24,7 +24,7 @@ source $VESTA/func/db.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" "type host"
+check_args '2' "$#" 'TYPE HOST'
 validate_format 'type' 'host'
 validate_format 'type' 'host'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"
 is_type_valid "$DB_SYSTEM" "$type"
 is_type_valid "$DB_SYSTEM" "$type"

+ 2 - 2
bin/v-delete-databases

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete user databases
 # info: delete user databases
-# options: user
+# options: USER
 #
 #
 # The function deletes all user databases.
 # The function deletes all user databases.
 
 
@@ -21,7 +21,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$DB_SYSTEM"
 is_system_enabled "$DB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-dns-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete dns domain
 # info: delete dns domain
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function for deleting DNS domain. By deleting it all records will also be
 # The function for deleting DNS domain. By deleting it all records will also be
 # deleted.
 # deleted.
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-dns-domain-record

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete dns record
 # info: delete dns record
-# options: user domain id
+# options: USER DOMAIN ID
 #
 #
 # The function for deleting a certain record of DNS zone.
 # The function for deleting a certain record of DNS zone.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain id'
+check_args '3' "$#" 'USER DOMAIN ID'
 validate_format 'user' 'domain' 'id'
 validate_format 'user' 'domain' 'id'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-dns-domains

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete dns domains
 # info: delete dns domains
-# options: user
+# options: USER
 #
 #
 # The function for deleting all users DNS domains.
 # The function for deleting all users DNS domains.
 
 
@@ -21,7 +21,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-dns-on-web-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete dns domain or dns record based on web domain alias
 # info: delete dns domain or dns record based on web domain alias
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function deletes dns domain or dns record based on web domain alias.
 # The function deletes dns domain or dns record based on web domain alias.
 
 
@@ -29,7 +29,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain alias'
+check_args '3' "$#" 'USER DOMAIN ALIAS'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"
 is_system_enabled "$DNS_SYSTEM"

+ 2 - 2
bin/v-delete-mail-account

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail account
 # info: delete mail account
-# options: user domain account
+# options: USER DOMAIN ACCOUNT
 #
 #
 # The function deletes email account.
 # The function deletes email account.
 
 
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain account'
+check_args '3' "$#" 'USER DOMAIN ACCOUNT'
 validate_format 'user' 'domain' 'account'
 validate_format 'user' 'domain' 'account'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-account-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail account alias aka nickname
 # info: delete mail account alias aka nickname
-# options: user domain account alias
+# options: USER DOMAIN ACCOUNT ALIAS
 #
 #
 # The function deletes email account alias.
 # The function deletes email account alias.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account alias'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT ALIAS'
 validate_format 'user' 'domain' 'account' 'malias'
 validate_format 'user' 'domain' 'account' 'malias'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-account-autoreply

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail account autoreply message
 # info: delete mail account autoreply message
-# options: user domain account alias
+# options: USER DOMAIN ACCOUNT ALIAS
 #
 #
 # The function delete email account autoreply.
 # The function delete email account autoreply.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain account'
+check_args '3' "$#" 'USER DOMAIN ACCOUNT'
 validate_format 'user' 'domain' 'account'
 validate_format 'user' 'domain' 'account'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-account-forward

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delte mail account forward
 # info: delte mail account forward
-# options: user domain account email
+# options: USER DOMAIN ACCOUNT EMAIL
 #
 #
 # The function add delete email account forward address.
 # The function add delete email account forward address.
 
 
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '4' "$#" 'user domain account forward'
+check_args '4' "$#" 'USER DOMAIN ACCOUNT FORWARD'
 validate_format 'user' 'domain' 'account' 'forward'
 validate_format 'user' 'domain' 'account' 'forward'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domain
 # info: delete mail domain
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function for deleting MAIL domain. By deleting it all accounts will
 # The function for deleting MAIL domain. By deleting it all accounts will
 # also be deleted.
 # also be deleted.
@@ -24,7 +24,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domain-antispam

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domain antispam support
 # info: delete mail domain antispam support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function disable spamassasin for incomming emails.
 # The function disable spamassasin for incomming emails.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domain-antivirus

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domain antivirus support
 # info: delete mail domain antivirus support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function disables clamav scan for incomming emails.
 # The function disables clamav scan for incomming emails.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domain-catchall

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domain catchall email
 # info: delete mail domain catchall email
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function disables mail domain cathcall.
 # The function disables mail domain cathcall.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domain-dkim

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domain dkim support
 # info: delete mail domain dkim support
-# options: user domain [dkim_size]
+# options: USER DOMAIN [DKIM_SIZE]
 #
 #
 # The function delete DKIM domain pem.
 # The function delete DKIM domain pem.
 
 
@@ -24,7 +24,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-mail-domains

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete mail domains
 # info: delete mail domains
-# options: user
+# options: USER
 #
 #
 # The function for deleting all users mail domains.
 # The function for deleting all users mail domains.
 
 
@@ -21,7 +21,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$MAIL_SYSTEM"
 is_system_enabled "$MAIL_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-sys-ip

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete system ip
 # info: delete system ip
-# options: ip
+# options: IP
 #
 #
 # The function for deleting a system ip. It does not allow to delete first ip
 # The function for deleting a system ip. It does not allow to delete first ip
 # on interface and do not allow to delete ip which is used by a web domain.
 # on interface and do not allow to delete ip which is used by a web domain.
@@ -24,7 +24,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'ip'
+check_args '1' "$#" 'IP'
 validate_format 'ip'
 validate_format 'ip'
 is_ip_valid "$ip"
 is_ip_valid "$ip"
 is_ip_key_empty '$U_WEB_DOMAINS'
 is_ip_key_empty '$U_WEB_DOMAINS'

+ 2 - 2
bin/v-delete-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete user
 # info: delete user
-# options: user
+# options: USER
 #
 #
 # This function deletes a certain user and all his resourses such as domains,
 # This function deletes a certain user and all his resourses such as domains,
 # databases, cron jobs, etc.
 # databases, cron jobs, etc.
@@ -26,7 +26,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-user-backup

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete user backup
 # info: delete user backup
-# options: user nackup
+# options: USER NACKUP
 #
 #
 # The function deletes user backup.
 # The function deletes user backup.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user backup'
+check_args '2' "$#" 'USER BACKUP'
 validate_format 'user' 'backup'
 validate_format 'user' 'backup'
 is_system_enabled "$BACKUP_SYSTEM"
 is_system_enabled "$BACKUP_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-user-ips

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete user ips
 # info: delete user ips
-# options: user
+# options: USER
 #
 #
 # The function deletes all user's ip addresses.
 # The function deletes all user's ip addresses.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user'
+check_args '1' "$#" 'USER'
 validate_format 'user'
 validate_format 'user'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-user-package

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete user package
 # info: delete user package
-# options: package
+# options: PACKAGE
 #
 #
 # The function for deleting user package. It does not allow to delete pacakge
 # The function for deleting user package. It does not allow to delete pacakge
 # if it is in use.
 # if it is in use.
@@ -31,7 +31,7 @@ is_package_in_use() {
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'package'
+check_args '1' "$#" 'PACKAGE'
 validate_format 'package'
 validate_format 'package'
 is_package_valid
 is_package_valid
 is_package_in_use
 is_package_in_use

+ 2 - 2
bin/v-delete-web-domain

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain
 # info: delete web domain
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The call of function leads to the removal of domain and all its components
 # The call of function leads to the removal of domain and all its components
 # (statistics, folders contents, ssl certificates, etc.). This operation is
 # (statistics, folders contents, ssl certificates, etc.). This operation is
@@ -29,7 +29,7 @@ source $VESTA/func/ip.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-alias

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain alias
 # info: delete web domain alias
-# options: user domain alias [restart]
+# options: USER DOMAIN ALIAS [RESTART]
 #
 #
 # The function of deleting the alias domain (parked domain). By this call
 # The function of deleting the alias domain (parked domain). By this call
 # default www aliase can be removed as well.
 # default www aliase can be removed as well.
@@ -28,7 +28,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain dom_alias [restart]'
+check_args '3' "$#" 'USER DOMAIN DOM_ALIAS [RESTART]'
 validate_format 'user' 'domain' 'dom_alias'
 validate_format 'user' 'domain' 'dom_alias'
 is_system_enabled 'WEB_SYSTEM'
 is_system_enabled 'WEB_SYSTEM'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-cgi

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain cgi support
 # info: delete web domain cgi support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function for deleting cgi support (adds -ExecCGI directive into
 # The function for deleting cgi support (adds -ExecCGI directive into
 # configuration file). It is recommended to apply this function only for a
 # configuration file). It is recommended to apply this function only for a
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-elog

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain error loggin support
 # info: delete web domain error loggin support
-# options: user domain [restart]
+# options: USER DOMAIN [RESTART]
 #
 #
 # The function of disabling error logging feature. It comments  ErrorLog 
 # The function of disabling error logging feature. It comments  ErrorLog 
 # direcitve in apache or/and nginx configuration. The data already collected
 # direcitve in apache or/and nginx configuration. The data already collected
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain [restart]'
+check_args '2' "$#" 'USER DOMAIN [RESTART]'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user" "$user"
 is_object_valid 'user' 'USER' "$user" "$user"

+ 2 - 2
bin/v-delete-web-domain-ftp

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete webdomain ftp account.
 # info: delete webdomain ftp account.
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function deletes additional ftp account.
 # The function deletes additional ftp account.
 
 
@@ -24,7 +24,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-nginx

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: deleting web domain nginx configuration
 # info: deleting web domain nginx configuration
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function of deleting the virtualhost nginx configuration.
 # The function of deleting the virtualhost nginx configuration.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-ssl

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain ssl support
 # info: delete web domain ssl support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function disable https support and deletes SSL certificates.
 # The function disable https support and deletes SSL certificates.
 
 
@@ -25,7 +25,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-stats

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domain statistics
 # info: delete web domain statistics
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function of deleting site's system of statistics. Its type is
 # The function of deleting site's system of statistics. Its type is
 # automatically chooses from client's configuration file.
 # automatically chooses from client's configuration file.
@@ -24,7 +24,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domain-stats-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: disable webdomain stats  authentication support
 # info: disable webdomain stats  authentication support
-# options: user domain
+# options: USER DOMAIN
 #
 #
 # The function removes authentication of statistics system. If the script is
 # The function removes authentication of statistics system. If the script is
 # called without naming a certain user, all users will be removed. After
 # called without naming a certain user, all users will be removed. After
@@ -26,7 +26,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user domain'
+check_args '2' "$#" 'USER DOMAIN'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-delete-web-domains

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: delete web domains
 # info: delete web domains
-# options: user [restart]
+# options: USER [RESTART]
 #
 #
 # The function deteles all user's webdomains.
 # The function deteles all user's webdomains.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '1' "$#" 'user [restart]'
+check_args '1' "$#" 'USER [RESTART]'
 validate_format 'user'
 validate_format 'user'
 is_system_enabled "$WEB_SYSTEM"
 is_system_enabled "$WEB_SYSTEM"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"

+ 2 - 2
bin/v-get-dns-domain-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: get dns domain value
 # info: get dns domain value
-# options: user domain key
+# options: USER DOMAIN KEY
 #
 #
 # The function for getting a certain DNS domain parameter.
 # The function for getting a certain DNS domain parameter.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain key'
+check_args '3' "$#" 'USER DOMAIN KEY'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'dns' 'DOMAIN' "$domain"
 is_object_valid 'dns' 'DOMAIN' "$domain"

+ 2 - 2
bin/v-get-mail-account-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: get mail account value
 # info: get mail account value
-# options: user domain account key
+# options: USER DOMAIN ACCOUNT KEY
 #
 #
 # The function for getting a certain mail account parameter.
 # The function for getting a certain mail account parameter.
 
 
@@ -24,7 +24,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain key'
+check_args '3' "$#" 'USER DOMAIN KEY'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'mail' 'DOMAIN' "$domain"
 is_object_valid 'mail' 'DOMAIN' "$domain"

+ 2 - 2
bin/v-get-mail-domain-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: get mail domain value
 # info: get mail domain value
-# options: user domain key
+# options: USER DOMAIN KEY
 #
 #
 # The function for getting a certain mail domain parameter.
 # The function for getting a certain mail domain parameter.
 
 
@@ -23,7 +23,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain key'
+check_args '3' "$#" 'USER DOMAIN KEY'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'mail' 'DOMAIN' "$domain"
 is_object_valid 'mail' 'DOMAIN' "$domain"

+ 2 - 2
bin/v-get-user-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: get user value
 # info: get user value
-# options: user key
+# options: USER KEY
 #
 #
 # The function for obtaining certain user's parameters.
 # The function for obtaining certain user's parameters.
 
 
@@ -22,7 +22,7 @@ source $VESTA/func/main.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user key'
+check_args '2' "$#" 'USER KEY'
 validate_format 'user'
 validate_format 'user'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 
 

+ 2 - 2
bin/v-get-web-domain-value

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: get web domain value
 # info: get web domain value
-# options: user domain key
+# options: USER DOMAIN KEY
 #
 #
 # The function is intended for obtaining a domain value by the key. This call
 # The function is intended for obtaining a domain value by the key. This call
 # is useful for arranging composite queries. The answer is displayed only in
 # is useful for arranging composite queries. The answer is displayed only in
@@ -27,7 +27,7 @@ source $VESTA/func/domain.sh
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '3' "$#" 'user domain key'
+check_args '3' "$#" 'USER DOMAIN KEY'
 validate_format 'user' 'domain'
 validate_format 'user' 'domain'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"

+ 3 - 3
bin/v-list-cron-job

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 # info: list cron job
 # info: list cron job
-# options: user job [format]
+# options: USER JOB [FORMAT]
 #
 #
 # The function of obtaining cron job settings.
 # The function of obtaining cron job settings.
 
 
@@ -62,7 +62,7 @@ shell_list_job() {
 #                    Verifications                         #
 #                    Verifications                         #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-check_args '2' "$#" 'user job [format]'
+check_args '2' "$#" 'USER JOB [FORMAT]'
 is_object_valid 'user' 'USER' "$user"
 is_object_valid 'user' 'USER' "$user"
 
 
 
 
@@ -80,7 +80,7 @@ case $format in
     json)   json_list_job ;;
     json)   json_list_job ;;
     plain)  nohead=1; shell_list_job ;;
     plain)  nohead=1; shell_list_job ;;
     shell)  shell_list_job |column -t ;;
     shell)  shell_list_job |column -t ;;
-    *)      check_args '2' '0' 'user job [format]'
+    *)      check_args '2' '0' 'USER JOB [FORMAT]'
 esac
 esac
 
 
 
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików