The previous example will cause the error like:
error: Options --file and --base64 are mutually exclusive

Reported-by: Yanqiu Zhang <yanqz...@redhat.com>
Signed-off-by: Han Han <h...@redhat.com>
---
 docs/formatsecret.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/formatsecret.rst b/docs/formatsecret.rst
index aeeb67610d..606a9cc587 100644
--- a/docs/formatsecret.rst
+++ b/docs/formatsecret.rst
@@ -318,7 +318,7 @@ be omitted if the file contents are base64-encoded.
 
 ::
 
-   # virsh secret-set-value 6dd3e4a5-1d76-44ce-961f-f119f5aad935 --file 
--plain secretinfile
+   # virsh secret-set-value 6dd3e4a5-1d76-44ce-961f-f119f5aad935 --file 
secretinfile --plain
    Secret value set
 
 **WARNING** The following approach is **insecure** and deprecated. The secret
-- 
2.47.0

Reply via email to