Add support for --pid option

Should I create an example like the one for the host option?