瀏覽代碼

added printing available privileges in usage()

Jiri Kuthan 23 年之前
父節點
當前提交
afab177651
共有 1 個文件被更改,包括 4 次插入0 次删除
  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
 }