fix cli to use program.output instead of program.out

`program.out` is always undefined since the flag is `--output`.