Commit 330ef94e by Arbab Nazar

Merge pull request #9182 from edx/arbab/whitelist-text-change

updated the help text for cert_whitelist
parents 26d9b659 58c92917
...@@ -28,15 +28,19 @@ class Command(BaseCommand): ...@@ -28,15 +28,19 @@ class Command(BaseCommand):
help = """ help = """
Sets or gets the certificate whitelist for a given Sets or gets the certificate whitelist for a given
user/course user(s)/course
Add a user to the whitelist for a course Add a user or list of users to the whitelist for a course
$ ... cert_whitelist --add joe -c "MITx/6.002x/2012_Fall" $ ... cert_whitelist --add joe -c "MITx/6.002x/2012_Fall"
OR
$ ... cert_whitelist --add joe,jenny,tom,jerry -c "MITx/6.002x/2012_Fall"
Remove a user from the whitelist for a course Remove a user or list of users from the whitelist for a course
$ ... cert_whitelist --del joe -c "MITx/6.002x/2012_Fall" $ ... cert_whitelist --del joe -c "MITx/6.002x/2012_Fall"
OR
$ ... cert_whitelist --del joe,jenny,tom,jerry -c "MITx/6.002x/2012_Fall"
Print out who is whitelisted for a course Print out who is whitelisted for a course
...@@ -49,13 +53,13 @@ class Command(BaseCommand): ...@@ -49,13 +53,13 @@ class Command(BaseCommand):
metavar='USER', metavar='USER',
dest='add', dest='add',
default=False, default=False,
help='user to add to the certificate whitelist'), help='user or list of users to add to the certificate whitelist'),
make_option('-d', '--del', make_option('-d', '--del',
metavar='USER', metavar='USER',
dest='del', dest='del',
default=False, default=False,
help='user to remove from the certificate whitelist'), help='user or list of users to remove from the certificate whitelist'),
make_option('-c', '--course-id', make_option('-c', '--course-id',
metavar='COURSE_ID', metavar='COURSE_ID',
......
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