diff options
author | Josh Durgin <josh.durgin@dreamhost.com> | 2011-09-06 17:27:17 -0700 |
---|---|---|
committer | Josh Durgin <josh.durgin@dreamhost.com> | 2011-09-06 17:31:11 -0700 |
commit | 4fa647b1f4e0c991d5c4de881ccdb5e260c04548 (patch) | |
tree | 323613f89d9f3c97aa46a240bec48e1fec0c305c | |
parent | 78a364662f5bb5cf66880705fcc2e795dba2c24f (diff) | |
download | ceph-4fa647b1f4e0c991d5c4de881ccdb5e260c04548.tar.gz |
cephtool: add --concise option again
This was accidentally removed in the arg parsing conversion.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
-rw-r--r-- | src/tools/ceph.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index 9b4f6380417..9ee7d9cf131 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -67,6 +67,8 @@ static void parse_cmd_args(vector<const char*> &args, *mode = CEPH_TOOL_MODE_ONE_SHOT_OBSERVER; } else if (ceph_argparse_flag(args, i, "-w", "--watch", (char*)NULL)) { *mode = CEPH_TOOL_MODE_OBSERVER; + } else if (ceph_argparse_flag(args, i, "--concise", (char*)NULL)) { + *concise = true; } else if (ceph_argparse_flag(args, i, "-h", "--help", (char*)NULL)) { usage(); } else { |