From: Pan Liu Date: Tue, 14 Mar 2017 12:14:33 +0000 (+0800) Subject: rbd-nbd: fixed typo and format in help info. X-Git-Tag: v12.0.1~60^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=328ad1b7f21a20bae1f7b81972aea3f6a8d0866d;p=ceph.git rbd-nbd: fixed typo and format in help info. Signed-off-by: Pan Liu --- diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index 71f3ba080438..32bd6da7e9eb 100644 --- a/src/tools/rbd_nbd/rbd-nbd.cc +++ b/src/tools/rbd_nbd/rbd-nbd.cc @@ -59,15 +59,15 @@ static void usage() { - std::cout << "Usage: rbd-nbd [options] map Map a image to nbd device\n" + std::cout << "Usage: rbd-nbd [options] map Map an image to nbd device\n" << " unmap Unmap nbd device\n" << " list-mapped List mapped nbd devices\n" << "Options:\n" - << " --device Specify nbd device path\n" - << " --read-only Map readonly\n" - << " --nbds_max Override for module param nbds_max\n" - << " --max_part Override for module param max_part\n" - << " --exclusive Forbid other clients write\n" + << " --device Specify nbd device path\n" + << " --read-only Map readonly\n" + << " --nbds_max Override for module param nbds_max\n" + << " --max_part Override for module param max_part\n" + << " --exclusive Forbid other clients write\n" << std::endl; generic_server_usage(); }