]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add default note info to size (create and resize) 15561/head
authorzhengyin <zhengyin@chinac.com>
Wed, 7 Jun 2017 15:13:01 +0000 (23:13 +0800)
committerzhengyin <zhengyin@chinac.com>
Thu, 8 Jun 2017 03:00:55 +0000 (11:00 +0800)
Signed-off-by: Zheng Yin <zhengyin@chinac.com>
src/test/cli/rbd/help.t
src/tools/rbd/ArgumentTypes.cc

index e4349e7d7c3e11d28749494fd76c9bf302067a82..104dfc4f1aed6d60f60720a64d8aa033ab19af3a 100644 (file)
     --journal-splay-width arg number of active journal objects
     --journal-object-size arg size of journal objects
     --journal-pool arg        pool for journal objects
-    -s [ --size ] arg         image size (in M/G/T)
+    -s [ --size ] arg         image size (in M/G/T) [default: M]
   
   Image Features:
     (*) supports enabling/disabling on existing images
   Optional arguments
     -p [ --pool ] arg    pool name
     --image arg          image name
-    -s [ --size ] arg    image size (in M/G/T)
+    -s [ --size ] arg    image size (in M/G/T) [default: M]
     --allow-shrink       permit shrinking
     --no-progress        disable progress output
   
index 63cba27af8fe95e6d466fead0325fcf951d18768..c6c9264fd06a1501f3ed1fb02e808e6a75e1985c 100644 (file)
@@ -300,7 +300,7 @@ void add_create_journal_options(po::options_description *opt) {
 void add_size_option(boost::program_options::options_description *opt) {
   opt->add_options()
     ((IMAGE_SIZE + ",s").c_str(), po::value<ImageSize>()->required(),
-     "image size (in M/G/T)");
+     "image size (in M/G/T) [default: M]");
 }
 
 void add_sparse_size_option(boost::program_options::options_description *opt) {