This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f1b8ad22 fix(oli, doc): Fix examples of config.toml for oli (#2819)
0f1b8ad22 is described below

commit 0f1b8ad22a42cec403f21e48d6181aa2da617e09
Author: Kousuke Saruta <[email protected]>
AuthorDate: Wed Aug 9 12:03:12 2023 +0900

    fix(oli, doc): Fix examples of config.toml for oli (#2819)
    
    Fix doc.
---
 bin/oli/README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/oli/README.md b/bin/oli/README.md
index f604cd4dc..6e0e37dce 100644
--- a/bin/oli/README.md
+++ b/bin/oli/README.md
@@ -29,11 +29,11 @@ cargo install oli --all-features
 The content of `config.toml` should be follow these pattern:
 
 ```toml
-[<profile_name>]
+[profiles.<profile_name>]
 configuration_key1 = "value1"
 configuration_key2 = "value2"
 
-[<another_profile_name>]
+[profiles.<another_profile_name>]
 configuration_key3 = "value3"
 configuration_key4 = "value4"
 
@@ -42,7 +42,7 @@ configuration_key4 = "value4"
 Here is an example of `config.toml`:
 
 ```toml
-[s3]
+[profiles.s3]
 type = "s3"
 root = "/assets"
 bucket = "<bucket>"
@@ -51,7 +51,7 @@ endpoint = "https://s3.amazonaws.com";
 access_key_id = "<access_key_id>"
 secret_access_key = "<secret_access_key>"
 
-[r2]
+[profiles.r2]
 type = "s3"
 root = "/assets"
 bucket = "<bucket>"

Reply via email to