From: Han Han Date: Thu, 21 Nov 2024 02:27:36 +0000 (+0800) Subject: docs: formatsecret: Fix an example of secret-set-value X-Git-Tag: v10.10.0-rc1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb6cb05d4c48c9948560a41af56787d08b7eddd;p=thirdparty%2Flibvirt.git docs: formatsecret: Fix an example of secret-set-value The previous example will cause the error like: error: Options --file and --base64 are mutually exclusive Reported-by: Yanqiu Zhang Signed-off-by: Han Han Reviewed-by: Michal Privoznik --- 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