commands/cli: Fixed stdin arg handling