From 6a296bf71a1c8d263ab5d998ddb5b1721a97e535 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 4 Mar 2010 09:29:38 -0800 Subject: [PATCH] crushtool: allow multiple -v's to increase verbosity --- src/crushtool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crushtool.cc b/src/crushtool.cc index 4818b41873dd3..5c97aab6ef360 100644 --- a/src/crushtool.cc +++ b/src/crushtool.cc @@ -705,7 +705,7 @@ int main(int argc, const char **argv) } else if (CONF_ARG_EQ("cinfn", 'c')) { CONF_SAFE_SET_ARG_VAL(&cinfn, OPT_STR); } else if (CONF_ARG_EQ("verbose", 'v')) { - CONF_SAFE_SET_ARG_VAL(&verbose, OPT_BOOL); + verbose++; } else if (CONF_ARG_EQ("build", '\0')) { CONF_SAFE_SET_ARG_VAL(&build, OPT_BOOL); } else if (CONF_ARG_EQ("num_osds", '\0')) { -- 2.39.5