MCPcopy
hub / github.com/cloudfoundry/cli / validateFlags

Method validateFlags

command/v7/unset_org_role_command.go:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (cmd UnsetOrgRoleCommand) validateFlags() error {
64 if cmd.IsClient && cmd.Origin != "" {
65 return translatableerror.ArgumentCombinationError{
66 Args: []string{"--client", "--origin"},
67 }
68 }
69 return nil
70}

Callers 1

ExecuteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected