]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/config: parse --default-$option as a default value 27217/head
authorSage Weil <sage@redhat.com>
Mon, 25 Mar 2019 18:40:19 +0000 (13:40 -0500)
committerSage Weil <sage@redhat.com>
Wed, 27 Mar 2019 14:48:57 +0000 (09:48 -0500)
commit207265ec74b56f42700d4a917c1ac52ffaaa24cc
tree64edc092fc60ce8d4eeb5ed9dd911a7184f9222f
parentc8b86bc325e2e1f110e8675e15cf4cafce100783
common/config: parse --default-$option as a default value

Sometimes it is useful to specify an alternative default value for an
option via the command line such that it has a lower priority than the
mon config database, config file, the rest of the command line, or the
environment.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit fdd2000631b25fd964e94373488e7f94694d7020)
qa/standalone/osd/osd-config.sh
src/common/config.cc