input: xdotool search --pid <program_pid>
output Can't consume 1 args; are only 0 available. This is a bug.
version: xdotool version 2.20110530.1
system: Arch Linux (3.6.8-1-ARCH)
I wanted to use xdotool in a shell-script to wait for X applications to be visible. Therefore I issued a command like this:
xdotool search --onlyvisible --sync --pid 1234
The output was this: Can't consume 1 args; are only 0 available. This is a bug.
I narrowed down the issue to the --pid option, which causes the aforementioned error message.