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 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-28 23:11:18 -08:00
1 parent dfe4515abb
commit 19ca019535
1 file changed
+3 -2
+3 -2
View File
@@ -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.