# cock.addOption

Creates new input option to bind contols into in current layout.

## Function

### Synopsis

    option = cock.addOption ( self, option )

### Arguments

`table self`
  An object to use.
`string option`
  Optional. Will create new option with specified name. Will generate random name if not provided.

### Returns

`string option`
  Name of the new option.

## See also

- cock.deleteOption
- cock.getEmptyOption
- cock.setDefault
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit

Category:

- Functions