Currently I perform a manual two-step procedure to get the grants information for all the users.
Step 1:
SELECT user, host FROM mysql.user;
Step 2:
SHOW GRANTS FOR '«user»'@'«host»'; -- Repeated for all user-host pairs.
Is there a single command to give me this information?