]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd: hide implicit / non-mutable features from the CLI help
authorJason Dillaman <dillaman@redhat.com>
Fri, 5 Jan 2018 16:31:37 +0000 (11:31 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 12 Jan 2018 02:30:08 +0000 (21:30 -0500)
commit4ffd5b79073798bdf45799ffa074d79df402bd21
tree09c5c5bd659e6160bcf962d9bd4164578c70ebf6
parent4da29a07cfc4c7c3e6fb499f4f7ddac307292ca0
rbd: hide implicit / non-mutable features from the CLI help

The layering and data-pool features are enabled automatically
when striping or a data pool is specified, respectively. For
the 'rbd feature XYZ' command, hide all non-mutable features.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/rbd/features.h
src/test/cli/rbd/help.t
src/tools/rbd/ArgumentTypes.cc