From 10ee00775bcdb44e9eb585cc7abbcd5a2f366810 Mon Sep 17 00:00:00 2001 From: tagbug <41150861+tagbug@users.noreply.github.com> Date: Wed, 9 Sep 2026 01:24:06 +0800 Subject: [PATCH] docs(readme): fix command syntax for share and policy create --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a87c0c2..feecf87 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ rc anonymous list local/bucket rc anonymous set public local/bucket/public # Generate download link -rc share download local/bucket/file.txt --expire 24h +rc share local/bucket/file.txt --expire 24h # View directory tree rc tree local/bucket -L 3 @@ -168,7 +168,7 @@ rc admin user list local/ rc admin user add local/ newuser secretpassword # Create a policy -rc admin policy create local/ readonly --file policy.json +rc admin policy create local/ readonly policy.json # Attach policy to user rc admin policy attach local/ readonly --user newuser