Commit 3e470a3a authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

Add missing arg strings

parent 61b9822f
......@@ -40,7 +40,7 @@ from ._common import get_user
class Command(BaseCommand):
args = "<user id or email> [user id or email] ..."
args = "<user ID or email> [user ID or email] ..."
help = "Activates one or more users"
@transaction.commit_manually
......
......@@ -39,7 +39,7 @@ from ._common import get_user
class Command(BaseCommand):
args = "<user_id or email>"
args = "<user ID or email>"
help = "Modify a user's attributes"
option_list = BaseCommand.option_list + (
......@@ -80,7 +80,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
if len(args) != 1:
raise CommandError("Please provide a user_id or email")
raise CommandError("Please provide a user ID or email")
user = get_user(args[0])
if not user:
......
......@@ -39,6 +39,7 @@ from ._common import format_bool, format_date
class Command(BaseCommand):
args = "<invitation ID>"
help = "Show invitation info"
def handle(self, *args, **options):
......
......@@ -39,11 +39,12 @@ from ._common import format_bool, format_date
class Command(BaseCommand):
args = "<user ID or email>"
help = "Show user info"
def handle(self, *args, **options):
if len(args) != 1:
raise CommandError("Please provide a user_id or email")
raise CommandError("Please provide a user ID or email")
email_or_id = args[0]
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment