Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
add-google-users: --add-to-group alias, improved --help message
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 9, 2012
1 parent 36a2955 commit 8ff160f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Expand Up @@ -7,6 +7,9 @@ CHANGES
- Support multiple Google groups. The authenticating user has to be a member
of any one of them for access to be allowed.

- Added add-google-users option --add-to-group as a more meaningful alias for
the old --admin-group option.


1.4.0 (2012-10-08)
------------------
Expand Down
8 changes: 4 additions & 4 deletions src/cipher/googlepam/addusers.py
Expand Up @@ -131,17 +131,17 @@ def addusers(options):
parser.add_option(
'-g', '--group', action='store',
dest='group',
help='The group all users belong to.')
help='The Google group all users belong to.')

parser.add_option(
'-a', '--admin-group', action='store',
'-a', '--add-to-group', '--admin-group', metavar='GROUP', action='store',
dest='admin_group',
help='The group to which the user will be added.')
help='The Unix group to which the user will be added.')

parser.add_option(
'-c', '--command', action='store',
dest='command', default=ADDUSER_CMD,
help='The command used to create the user.')
help='The command used to create the user (default: %default).')

parser.add_option(
'--dry-run', action='store_true',
Expand Down

0 comments on commit 8ff160f

Please sign in to comment.