Skip to content

Commit

Permalink
Update dbcommands.py
Browse files Browse the repository at this point in the history
Just fixed confusion about command doc (List roles. => List privileges.)
  • Loading branch information
AdrienPensart authored Aug 22, 2023
1 parent f05518e commit ed087e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgspecial/dbcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def list_roles(cur, pattern, verbose):
return [(None, cur, headers, cur.statusmessage)]


@special_command("\\dp", "\\dp [pattern]", "List roles.", aliases=("\\z",))
@special_command("\\dp", "\\dp [pattern]", "List privileges.", aliases=("\\z",))
def list_privileges(cur, pattern, verbose):
"""Returns (title, rows, headers, status)"""
sql = SQL(
Expand Down

0 comments on commit ed087e4

Please sign in to comment.