title: How to get my argparse subparsers format be like in a list and not on one single line?
body: <p>I have this code as the test</p>
  <pre class="lang-py prettyprint-override"><code>import argparse
  
  
  def main():
      parser = argparse.ArgumentParser(&quot;test&quot;, description=&quot;subparser help test&quot;)
      commands = parser.add_subparsers(dest=&quot;command&quot;, title=&quot;Commands&quot;)
  
      subparser_a = commands.add_parser(&quot;parser_a&quot;, description=&quot;description_of_parser_a&quot;)
      subparser_a.add_argument(&quot;--foo&quot;)
      subparser_a.add_argument(&quot;--bar&quot;)
  
      subparser_b = commands.add_parser(&quot;parser_b&quot;, description=&quot;description_of_parser_b&quot;)
      subparser_b.add_argument(&quot;--foo-b&quot;)
      subparser_b.add_argument(&quot;--bar-b&quot;)
  
      args = parser.parse_args()
  
  
  if __name__ == '__main__':
      main()
  </code></pre>
  <p>but when i run <code>python test.py --help</code>, it shows something like this</p>
  <pre><code>usage: test [-h] {parser_a,parser_b} ...
  
  subparser help test
  
  optional arguments:
    -h, --help           show this help message and exit
  
  Commands:
    {parser_a,parser_b}
  </code></pre>
  <p>but what i expect it to print is something like this</p>
  <pre><code>usage: test [-h] {parser_a,parser_b} ...
  
  subparser help test
  
  optional arguments:
    -h, --help           show this help message and exit
  
  Commands:
    parser_a             description_of_parser_a
    parser_b             description_of_parser_b
  </code></pre>
  <p>is their any workaround or way to do that?</p>