title: How to print a multiline version text by argparse module in Python?
body: <p>Well, I'm using <code>argparse</code> module but have found that a multiline text as the version information won't be shown well. The result shows that the '\n' will be changed into space ' '.
  Example:</p>
  
  <pre class="lang-py prettyprint-override"><code>import argparse
  ver_text = 'This is the\nversion text!'
  parser = argparse.ArgumentParser()
  parser.add_argument('-v', '--version', action='version', version=ver_text)
  </code></pre>
  
  <pre class="lang-sh prettyprint-override"><code>$ python test.py -v
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>This is the version text!
  </code></pre>
  
  <p>So this is the problem. I wonder how to handle it. Thanks very much!</p>