aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/argparse.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* python: Remove scripts/argparse.pyEduardo Habkost2018-06-081-2406/+0
| | | | | | | | | Python 2.7 (the minimum Python version we require) already provides the argparse module on the standard library. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20180608175252.25110-2-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
* scripts/argparse.py: spelling (independant)Michael Tokarev2018-02-101-1/+1
| | | | | Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Eric Blake <eblake@redhat.com>
* scripts: add argparse module for Python 2.6 compatibilityStefan Hajnoczi2017-08-301-0/+2406
The minimum Python version supported by QEMU is 2.6. The argparse standard library module was only added in Python 2.7. Many scripts would like to use argparse because it supports command-line sub-commands. This patch adds argparse. See the top of argparse.py for details. Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: John Snow <jsnow@redhat.com> Message-id: 20170825155732.15665-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>