mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
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:
@@ -1555,8 +1555,10 @@ gam print group-members|groups-members [todrive]
|
|||||||
|
|
||||||
gam create inboundssoprofile [name <SSOProfileDisplayName>]
|
gam create inboundssoprofile [name <SSOProfileDisplayName>]
|
||||||
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
|
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
|
||||||
|
[returnnameonly]
|
||||||
gam update inboundssoprofile <SSOProfileItem>
|
gam update inboundssoprofile <SSOProfileItem>
|
||||||
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
|
[entityid <String>] [loginurl <URL>] [logouturl <URL>] [changepasswordurl <URL>]
|
||||||
|
[returnnameonly]
|
||||||
gam delete inboundssoprofile <SSOProfileItem>
|
gam delete inboundssoprofile <SSOProfileItem>
|
||||||
gam info inboundssoprofile <SSOProfileItem>
|
gam info inboundssoprofile <SSOProfileItem>
|
||||||
gam show inboundssoprofiles
|
gam show inboundssoprofiles
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ def parse_profile(body, i):
|
|||||||
elif myarg == 'entityid':
|
elif myarg == 'entityid':
|
||||||
body.setdefault('idpConfig', {})['entityId'] = sys.argv[i+1]
|
body.setdefault('idpConfig', {})['entityId'] = sys.argv[i+1]
|
||||||
i += 2
|
i += 2
|
||||||
elif myarg == 'nameonly':
|
elif myarg == 'returnnameonly':
|
||||||
name_only = True
|
name_only = True
|
||||||
i += 1
|
i += 1
|
||||||
elif myarg == 'loginurl':
|
elif myarg == 'loginurl':
|
||||||
|
|||||||
Reference in New Issue
Block a user