Use returnnameonly, it's like returnidonly in create drivefile (#1579)

* Document nameonly in create/update inboundssoprofile

* Use returnnameonly, it's like returnidonly in create drivefile
This commit is contained in:
Ross Scroggs
2022-11-30 06:15:36 -08:00
committed by GitHub
parent ffbce1fd25
commit f4d390b77b
2 changed files with 3 additions and 1 deletions

View File

@@ -1555,8 +1555,10 @@ gam print group-members|groups-members [todrive]
gam create inboundssoprofile [name <SSOProfileDisplayName>]
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
[returnnameonly]
gam update inboundssoprofile <SSOProfileItem>
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
[returnnameonly]
gam delete inboundssoprofile <SSOProfileItem>
gam info inboundssoprofile <SSOProfileItem>
gam show inboundssoprofiles

View File

@@ -49,7 +49,7 @@ def parse_profile(body, i):
elif myarg == 'entityid':
body.setdefault('idpConfig', {})['entityId'] = sys.argv[i+1]
i += 2
elif myarg == 'nameonly':
elif myarg == 'returnnameonly':
name_only = True
i += 1
elif myarg == 'loginurl':