Explorar o código

added printing available privileges in usage()

Jiri Kuthan %!s(int64=23) %!d(string=hai) anos
pai
achega
afab177651
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      scripts/sc

+ 4 - 0
scripts/sc

@@ -81,6 +81,10 @@ usage() {
 	echo 
 	echo "   commands labeled with (*) will prompt for a MySQL password"
 	echo "   if the variable PW is set, the password will not be prompted"
+
+	if [ "0$VERIFY_ACL" -eq 1 ] ; then
+		echo "   ACL privileges are: $ACL_GROUPS"
+	fi
 	echo
 }