Skip to content

Commit

Permalink
Merge pull request #15561 from zy751713126/add-create-rbd-default-info
Browse files Browse the repository at this point in the history
rbd: add default note info to size (create and resize)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Jun 16, 2017
2 parents 7edc62d + 0974691 commit ba220e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/cli/rbd/help.t
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
--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
Expand Down Expand Up @@ -1240,7 +1240,7 @@
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

Expand Down
2 changes: 1 addition & 1 deletion src/tools/rbd/ArgumentTypes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ba220e4

Please sign in to comment.