cmdline output should be yielded, not printed directly

for testability