]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: use sys.argv instead of implicit
authorLoic Dachary <ldachary@redhat.com>
Thu, 27 Aug 2015 10:37:15 +0000 (12:37 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 29 Aug 2015 00:37:52 +0000 (02:37 +0200)
commit38d0e7bd5502030d65ea433e975ab1af77f86c6f
treedc6c94a6ac1d4a0dafc14469138ca89f16d8189d
parent9a71816f485323301a35992318d736fc64dc9cc5
ceph-disk: use sys.argv instead of implicit

Make parse_args and main use and argument instead of relying on
argparse.ArgumentParser implicit use of sys.argv. It helps with tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/ceph-disk