]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_argparse.cc: accept also 0/1 for boolean injectargs 80/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Feb 2013 15:40:37 +0000 (16:40 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Feb 2013 15:40:37 +0000 (16:40 +0100)
commit289d81645f0d439f0f9f3aba1427e99595efc6f0
treecaf66070b45e588b385cd6c1b477411ce8fdb123
parentea546aef0c86da521f8a360d4bfd10315af3f46b
ceph_argparse.cc: accept also 0/1 for boolean injectargs

Accept also 0 (as false) and 1 (true) as arguments for
boolean option on injectargs.

Fixes: #4261
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/common/ceph_argparse.cc