[libvirt] [PATCH 1/3] example: Fix argument handling

2011-10-12 Thread Philipp Hahn
sys.argv contains the original command line arguments, while args only contains the arguments not handled by getopt(). Currently this is no problem since --help is the only command line option passable, which terminates the process, so the code is never reached. Any option added in the future will

Re: [libvirt] [PATCH 1/3] example: Fix argument handling

2011-10-12 Thread Eric Blake
On 10/12/2011 08:54 AM, Philipp Hahn wrote: sys.argv contains the original command line arguments, while args only contains the arguments not handled by getopt(). Currently this is no problem since --help is the only command line option passable, which terminates the process, so the code is