only handle pipe when no arg specified

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>