# Plugin options

The -O command line switch allows the user to pass options to the plugins. A plugin which uses options should call the get\_plugin\_options() function to get them.

Since there may be many plugins written by independent programmers, each options will have a prefix -O in front of the plugin name.

For example, a plugin named "decomp" should expect its parameters to be in the following format:

```
        -Odecomp:option1:option2:option3
```

In this case, get\_plugin\_options("decomp") will return the "option1:option2:option3" part of the options string.

If there are several -O options in the command line, they will be concatenated with ':' between them.

List of plugins recognizing '-O' switch

* [Conversion option](https://docs.hex-rays.com/8.4/user-guide/user-interface/database-conversion-from-idb-to-i64)
* [Objective-C](https://github.com/HexRaysSA/docs/blob/IDA-8.4/user-guide/plugins/1687.md)
* [Lumina](https://docs.hex-rays.com/8.4/user-guide/user-interface/menu-bar/view/lumina-options)
* [Pdb](https://github.com/HexRaysSA/docs/blob/IDA-8.4/user-guide/plugins/1374.md)
* [Rust](https://github.com/HexRaysSA/docs/blob/IDA-8.4/user-guide/plugins/1477.md)
* [Golang](https://github.com/HexRaysSA/docs/blob/IDA-8.4/user-guide/plugins/1478.md)
* [Swift](https://github.com/HexRaysSA/docs/blob/IDA-8.4/user-guide/plugins/1479.md)
* hexrays : <https://hex-rays.com/products/decompiler/manual/batch.shtml>

This switch is not available in the IDA Home edition.
