]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Update rbd import-diff command help message
authorHuangWei <huangwei.a180285@gmail.com>
Sat, 25 Nov 2023 08:52:21 +0000 (16:52 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 13 Dec 2023 16:52:58 +0000 (17:52 +0100)
Signed-off-by: HuangWei <huangwei.a180285@gmail.com>
src/test/cli/rbd/help.t
src/tools/rbd/action/Import.cc

index a80c0fb491edbf0c41034ec3b33eaf8d6bfe2593..2d1c901462c766930a8ec75b68f5d5253e05fac3 100644 (file)
@@ -63,7 +63,8 @@
                                         associated.
       image-meta set                    Image metadata set key with value.
       import                            Import image from file.
-      import-diff                       Import an incremental diff.
+      import-diff                       Apply an incremental diff to image HEAD,
+                                        then create a snapshot.
       info                              Show information about image size,
                                         striping, etc.
       journal client disconnect         Flag image journal client as disconnected.
                          [--sparse-size <sparse-size>] [--no-progress] 
                          <path-name> <image-spec> 
   
-  Import an incremental diff.
+  Apply an incremental diff to image HEAD, then create a snapshot.
   
   Positional arguments
     <path-name>          import file (or '-' for stdin)
index 3358c5bc6855c0d42ad98f7c7bf1d0c6ca84e62b..f6b3c4c3ccd8f8d5ae2d378376b0098997dcf064 100644 (file)
@@ -526,8 +526,9 @@ int execute_diff(const po::variables_map &vm,
 }
 
 Shell::Action action_diff(
-  {"import-diff"}, {}, "Import an incremental diff.", "", &get_arguments_diff,
-  &execute_diff);
+  {"import-diff"}, {},
+  "Apply an incremental diff to image HEAD, then create a snapshot.", "",
+  &get_arguments_diff, &execute_diff);
 
 class C_Import : public Context {
 public: