diff --git a/bin/pt-show-grants b/bin/pt-show-grants index 06969920..9d3f7d07 100755 --- a/bin/pt-show-grants +++ b/bin/pt-show-grants @@ -1756,7 +1756,7 @@ sub main { my @result; if ( $o->get('separate') ) { - @result = map { "REVOKE $grant ON $on_what FROM $user" } + @result = map { "REVOKE $_ ON $on_what FROM $user" } split(', ', $grants); } else {