Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python': 0.08; 'to:name:python list': 0.09; 'top-level': 0.09; '--help': 0.16; ' --help"': 0.16; 'from:addr:simplistix.co.uk': 0.16; 'from:name:chris withers': 0.16; 'message-id:@simplistix.co.uk': 0.16; 'received:89.151': 0.16; 'received:89.151.125': 0.16; 'received:89.151.125.140': 0.16; 'received:server1.simplistix.co.uk': 0.16; 'received:simplistix.co.uk': 0.16; 'sub-command': 0.16; 'cheers,': 0.18; 'subject:help': 0.22; 'all,': 0.28; 'commands,': 0.30; 'from:addr:chris': 0.30; 'chris': 0.32; 'there': 0.33; 'to:addr :python-list': 0.33; 'header:User-Agent:1': 0.34; 'summary': 0.37; 'but': 0.37; 'options': 0.37; 'subject:: ': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'processing': 0.40; 'url:co': 0.63; 'batch': 0.64; 'show': 0.67; 'received:89': 0.67 Date: Wed, 31 Aug 2011 12:57:04 +0100 From: Chris Withers User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Python List Subject: argparse: showing full help for subparsers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314791833 news.xs4all.nl 2484 [2001:888:2000:d::a6]:48251 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12466 Hi All, If I have subparsers set up and do: myscript.py --help I get the summary for each of the top-level commands, but to get the help for each sub-command I have to do: myscript.py subcommand --help Is there any way I can get "myscript.py --help" to show the help hierarchically, including all options for all subcommands? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk