]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
[RM-15016] Fixes related to changes in argparse's behavior
authorOleh Prypin <oleh@pryp.in>
Mon, 23 May 2016 17:26:40 +0000 (20:26 +0300)
committerOleh Prypin <oleh@pryp.in>
Thu, 9 Jun 2016 12:29:03 +0000 (15:29 +0300)
commitbc5aacec86d6ac16ccabb59c0d6cc22661dfd6a0
treea04a76103ca7c052175dd3c9b1e58724123a146e
parent458402e63d7c06d8d17233263453b5b451195883
[RM-15016] Fixes related to changes in argparse's behavior

* No error when passing an incomplete command:
  http://bugs.python.org/issue9253#msg186387
* Different error message for too few arguments
* Different output stream for version number

Signed-off-by: Oleh Prypin <oleh@pryp.in>
25 files changed:
ceph_deploy/calamari.py
ceph_deploy/cli.py
ceph_deploy/config.py
ceph_deploy/mds.py
ceph_deploy/mon.py
ceph_deploy/osd.py
ceph_deploy/rgw.py
ceph_deploy/tests/parser/test_admin.py
ceph_deploy/tests/parser/test_calamari.py
ceph_deploy/tests/parser/test_config.py
ceph_deploy/tests/parser/test_disk.py
ceph_deploy/tests/parser/test_gatherkeys.py
ceph_deploy/tests/parser/test_install.py
ceph_deploy/tests/parser/test_main.py
ceph_deploy/tests/parser/test_mds.py
ceph_deploy/tests/parser/test_new.py
ceph_deploy/tests/parser/test_osd.py
ceph_deploy/tests/parser/test_pkg.py
ceph_deploy/tests/parser/test_purge.py
ceph_deploy/tests/parser/test_purgedata.py
ceph_deploy/tests/parser/test_repo.py
ceph_deploy/tests/parser/test_rgw.py
ceph_deploy/tests/parser/test_uninstall.py
ceph_deploy/tests/test_cli_mon.py
ceph_deploy/tests/util.py