ip: fix punt cli to only consumes a line of input