]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd-nbd: fixed typo and format in help info.
authorPan Liu <liupan1111@gmail.com>
Tue, 14 Mar 2017 12:14:33 +0000 (20:14 +0800)
committerPan Liu <liupan1111@gmail.com>
Tue, 14 Mar 2017 12:14:33 +0000 (20:14 +0800)
Signed-off-by: Pan Liu <liupan1111@gmail.com>
src/tools/rbd_nbd/rbd-nbd.cc

index 71f3ba080438b7c411434548a76455db7b87e011..32bd6da7e9ebc6bbf341375beec29ad29bf031e2 100644 (file)
 
 static void usage()
 {
-  std::cout << "Usage: rbd-nbd [options] map <image-or-snap-spec>  Map a image to nbd device\n"
+  std::cout << "Usage: rbd-nbd [options] map <image-or-snap-spec>  Map an image to nbd device\n"
             << "               unmap <device path>                 Unmap nbd device\n"
             << "               list-mapped                         List mapped nbd devices\n"
             << "Options:\n"
-            << "  --device <device path>                    Specify nbd device path\n"
-            << "  --read-only                               Map readonly\n"
-            << "  --nbds_max <limit>                        Override for module param nbds_max\n"
-            << "  --max_part <limit>                        Override for module param max_part\n"
-            << "  --exclusive                               Forbid other clients write\n"
+            << "  --device <device path>  Specify nbd device path\n"
+            << "  --read-only             Map readonly\n"
+            << "  --nbds_max <limit>      Override for module param nbds_max\n"
+            << "  --max_part <limit>      Override for module param max_part\n"
+            << "  --exclusive             Forbid other clients write\n"
             << std::endl;
   generic_server_usage();
 }