only read stdin when no args on commandline