Add quiet option #77

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@cliftonswafford

This patch sets the sys.stdout stream to a StringIO object when the --quiet (-q) flag is set. This prevents stdout from writing to the screen.

@mludvig

This comment has been minimized.

Show comment Hide comment
@mludvig

mludvig Feb 27, 2013

Contributor

I agree with Matt. Storing all the output in StringIO and then throwing it away is just wasting memory.

Contributor

mludvig commented Feb 27, 2013

I agree with Matt. Storing all the output in StringIO and then throwing it away is just wasting memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment