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

updated the help text for cert_whitelist
This commit is contained in:
Arbab Nazar
2015-08-12 12:28:04 +05:00

View File

@@ -28,15 +28,19 @@ class Command(BaseCommand):
help = """
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"
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"
OR
$ ... cert_whitelist --del joe,jenny,tom,jerry -c "MITx/6.002x/2012_Fall"
Print out who is whitelisted for a course
@@ -49,13 +53,13 @@ class Command(BaseCommand):
metavar='USER',
dest='add',
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',
metavar='USER',
dest='del',
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',
metavar='COURSE_ID',