Browse code

more noise added

Jiri Kuthan authored on 15/06/2002 18:04:12
Showing 1 changed files
... ...
@@ -43,17 +43,17 @@ ACL_GROUP_COLUMN=grp
43 43
 
44 44
 usage() {
45 45
 	echo "usage: "
46
-	echo -n "   $0 add <name> <password> <email> "
47
-	echo "... introduce a new subscriber (*)"
48
-	echo "   $0 dul <name> ... delete user's UsrLoc entries (*)"
49
-	echo "   $0 show [<name>] ... show online users"
50
-	echo "   $0 mail <name> ... send an email to a user"
51
-	echo "   $0 rm <name> ... delete a user (*)"
52
-	echo "   $0 passwd <user> <passwd> ... change user's password (*)"
53
-	echo "   $0 stat ... show runnig processes + $0 show"
54
-	echo "   $0 acl show [<user>] ... show user membership"
55
-	echo "   $0 acl grant <user> <group> ... grant user memberhsip (*)"
56
-	echo "   $0 acl revoke <user> [<group>] ... grant user memberhsip(s) (*)"
46
+	echo -n " `basename $0` add <name> <password> <email> "
47
+	echo "... add a new subscriber (*)"
48
+	echo " `basename $0` dul <name> ... delete user's UsrLoc entries (*)"
49
+	echo " `basename $0` show [<name>] ... show online users"
50
+	echo " `basename $0` mail <name> ... send an email to a user"
51
+	echo " `basename $0` rm <name> ... delete a user (*)"
52
+	echo " `basename $0` passwd <user> <passwd> ... change user's password (*)"
53
+	echo " `basename $0` stat ... show runnig processes + $0 show"
54
+	echo " `basename $0` acl show [<user>] ... show user membership"
55
+	echo " `basename $0` acl grant <user> <group> ... grant user memberhsip (*)"
56
+	echo " `basename $0` acl revoke <user> [<group>] ... grant user memberhsip(s) (*)"
57 57
 	echo 
58 58
 	echo "   commands labeled with (*) will prompt for a MySQL password"
59 59
 	echo
... ...
@@ -71,6 +71,7 @@ acl() {
71 71
 			QUERY="select * FROM $ACL_TABLE $CLAUSE ; "
72 72
 			$MYSQL -h $SQL_HOST -u $RO_USER "-p$RO_PW" \
73 73
 				-e "$QUERY ;" $SQL_DB
74
+
74 75
 			;;
75 76
 
76 77
 		grant)
... ...
@@ -274,6 +275,8 @@ case $1 in
274 275
 		else
275 276
 			$MYSQL -h $SQL_HOST -u $RO_USER "-p$RO_PW" -e "$QUERY3 ;" $SQL_DB
276 277
 		fi
278
+		echo -n "Note: Due to usage of cache, server's list "
279
+		echo "may differ from DB list."
277 280
 
278 281
 		;;
279 282