Browse Source

added printing available privileges in usage()

Jiri Kuthan 23 năm trước cách đây
mục cha
commit
afab177651
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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
 }