add support for "-" as a selector for stdin