From 205829fa22216228be40effb9d684aa7900ded57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Fr=C4=85ckiewicz?= <1836094+SystemZ@users.noreply.github.com> Date: Fri, 15 Mar 2024 20:16:44 +0100 Subject: [PATCH] Document default method used by compact (#5379) --- weed/command/compact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/compact.go b/weed/command/compact.go index 6d1f5d5f1..6f5f2307a 100644 --- a/weed/command/compact.go +++ b/weed/command/compact.go @@ -28,7 +28,7 @@ var ( compactVolumePath = cmdCompact.Flag.String("dir", ".", "data directory to store files") compactVolumeCollection = cmdCompact.Flag.String("collection", "", "volume collection name") compactVolumeId = cmdCompact.Flag.Int("volumeId", -1, "a volume id. The volume should already exist in the dir.") - compactMethod = cmdCompact.Flag.Int("method", 0, "option to choose which compact method. use 0 or 1.") + compactMethod = cmdCompact.Flag.Int("method", 0, "option to choose which compact method. use 0 (default) or 1.") compactVolumePreallocate = cmdCompact.Flag.Int64("preallocateMB", 0, "preallocate volume disk space") )