changeset 254:b448bb5a6d9f

Fix help text for 'admin grant' command.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Fri, 04 Jan 2013 18:45:06 +0100
parents 8c966992e7bc
children 110c94509ebf
files src/ltpdarepo/admin.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ltpdarepo/admin.py	Fri Jan 04 18:42:20 2013 +0100
+++ b/src/ltpdarepo/admin.py	Fri Jan 04 18:45:06 2013 +0100
@@ -265,7 +265,7 @@
 
     cmd = commands.add(_grant, name='grant')
     cmd.add_argument('username', metavar='USERNAME')
-    cmd.add_argument('database', metavar='PASSWORD')
+    cmd.add_argument('database', metavar='DATABASE')
     cmd.add_argument('privs', metavar='PRIV', nargs='+', type=upper,
                      choices=frozenset(['SELECT', 'INSERT', 'UPDATE', 'DELETE']))