Allow select-output-line to use prompt option

Signed-off-by: Bao Haojun <baohaojun@gmail.com>