From 19ca019535de0dbab80f1bcd9742399acc21aeec Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 23:11:18 -0800 Subject: [PATCH] fix(sw-block): mini's usage says a restore is not possible inside a mini trial yet The usage text said snapshots and restore work at once with weed; a restore into a new volume needs the standalone setup. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/cmd/sw-block/mini.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seaweed-block/cmd/sw-block/mini.go b/seaweed-block/cmd/sw-block/mini.go index 87b8b103ae..f252e1cc38 100644 --- a/seaweed-block/cmd/sw-block/mini.go +++ b/seaweed-block/cmd/sw-block/mini.go @@ -31,8 +31,9 @@ const miniUsage = `usage: sw-block mini [--dir ./swb-mini] [--reuse] [--weed PAT Starts weed mini (when a weed binary is found: --weed, else PATH), blockmaster and one blockvolume (v1) on loopback, and prints every command it runs. With weed the volume is walstore-chunk with the chunk control endpoint, so -snapshots and restore work at once; without weed it is walstore (no -snapshots). Ctrl-C stops everything it started.` +snapshots work at once (a restore into a new volume needs the standalone +setup); without weed it is walstore (no snapshots). Ctrl-C stops everything +it started.` // miniPorts are the loopback ports mini uses: the standalone page's, and // weed mini's defaults. Tests move them.