# 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/9.0sp1/user-guide/user-interface/database-conversion-from-idb-to-i64)
* [Objective-C](https://docs.hex-rays.com/9.0sp1/user-guide/plugins/plugins-shipped-with-ida/objective-c-analysis-plugin)
* [Lumina](https://docs.hex-rays.com/9.0sp1/user-guide/user-interface/menu-bar/view/lumina-options)
* [Pdb](https://docs.hex-rays.com/9.0sp1/user-interface/menu-bar/file/load-file#load-pdb-debug-information-file)
* [Rust](https://docs.hex-rays.com/9.0sp1/user-guide/plugins/plugins-shipped-with-ida/rust-plugin)
* [Golang](https://docs.hex-rays.com/9.0sp1/user-guide/plugins/plugins-shipped-with-ida/golang-plugin)
* [Swift](https://docs.hex-rays.com/9.0sp1/user-guide/plugins/plugins-shipped-with-ida/swift-plugin)
* [hexrays](https://docs.hex-rays.com/9.0sp1/user-guide/decompiler/batch)

This switch is not available in the IDA Home edition.
