Favor request (#658)

In my version, gam user foo add calendar xxx ... adds a calendar to foo's list of calendars just like your version

In my version, gam user foo create calendar xxx ... creates calendar xxx for foo

This change reserves a spot for your version to create a calendar and avoids compatibilty issues going forward
This commit is contained in:
Ross Scroggs
2017-12-20 12:49:04 -08:00
committed by Jay Lee
parent e3d3927cfd
commit 9aaee86120

View File

@ -12701,7 +12701,11 @@ def ProcessGAMCommand(args):
elif command in [u'add', u'create']:
addWhat = sys.argv[4].lower()
if addWhat == u'calendar':
addCalendar(users)
if command == u'add':
addCalendar(users)
else:
print u'ERROR: %s is not implemented for "gam <users> %s"' % (addWhat, command)
sys.exit(2)
elif addWhat == u'drivefile':
createDriveFile(users)
elif addWhat in [u'license', u'licence']: