FIX issue#2 avoid priting an usagem msg when receiving from STDIN

Signed-off-by: José Pinheiro Neta <jose.neta@gmail.com>
TIDY up

Signed-off-by: José Pinheiro Neta <jose.neta@gmail.com>