]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/cmdparse: additional helpers
authorJohn Spray <john.spray@redhat.com>
Fri, 17 Jun 2016 14:23:03 +0000 (15:23 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 29 Sep 2016 16:26:52 +0000 (17:26 +0100)
commit6caae0e33436bdc5597a8a7e07e9744cf8b32fe6
treea336582a4514c4e12009da094aa0e257f3082323
parentc4965fd04b6837eeb08b5d82df3aa4b1a71f5d58
common/cmdparse: additional helpers

For dumping a cmdmap to a Formatter, and for
checking the prefix of a cmddesc.

Used by ceph-mgr when routing commands to python
modules.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/cmdparse.cc
src/common/cmdparse.h