]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
config: make the Option::TYPE_BOOL interpreter reusable.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 24 Jun 2020 12:28:43 +0000 (12:28 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 24 Jun 2020 14:20:15 +0000 (14:20 +0000)
commit7bd0da2120a8174344da0acae4a9539dbdc70b74
tree7f920550dcdac7ec1e571191a921f4b22ce91ec4
parenteabfd2e1e6e24ca167109ddf75817e4596c8ae62
config: make the Option::TYPE_BOOL interpreter reusable.

Let's allow custom validators to not duplicate the code.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/common/options.cc
src/common/strtol.cc
src/common/strtol.h