Added cmd-switch "--stdin" for reading %query% from STDIN.