]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update the discarded option '--delay' in command 'rbd trash mv'
authorMao Zhongyi <maozy.fnst@cn.fuitsu.com>
Wed, 23 May 2018 01:37:05 +0000 (09:37 +0800)
committerMao Zhongyi <maozy.fnst@cn.fujitsu.com>
Thu, 31 May 2018 12:35:03 +0000 (20:35 +0800)
I got the following error message when I used the command '#rbd trash
mv foo --delay' as a document:

rbd: unrecognised option '--delay'

so replace the discarded option '--delay' with '--expires-at' avoid
others getting into the same doubt. In addition, some spelling mistakes
were fixed.

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
doc/rbd/rados-rbd-cmds.rst

index 65f7737aa228f9ddfdd0cfe27a5d97acfeeddb99..2d89ab61c6bc0e990cde9f013eb38d8f1e280622 100644 (file)
@@ -182,12 +182,12 @@ For example::
 
 .. note::
 
-  * You can move an image to the trash even it has shapshot(s) or actively 
+  * You can move an image to the trash even it has snapshot(s) or actively 
     in-use by clones, but can not be removed from trash.
 
-  * You can use *--delay* to set the defer time (default is 0), and if its 
-    deferment time has not expired, it can not be removed unless you use 
-    force.
+  * You can use *--expires-at* to set the defer time (default is ``now``), 
+    and if its deferment time has not expired, it can not be removed unless 
+    you use *--force*.
 
 Restoring a Block Device Image
 ==============================
@@ -195,7 +195,7 @@ Restoring a Block Device Image
 To restore a deferred delete block device in the rbd pool, execute the 
 following, but replace ``{image-id}`` with the id of the image::
 
-        rbd trash restore {image-d}
+        rbd trash restore {image-id}
 
 For example::