Add no-prompt command.
Fix logic of optparse argument no-prompt.
Merge pull request #310 from ContinuumIO/no-prompt

Add no-prompt command.