From 8afd0a008f4de088367a820f601bc9c3552cd009 Mon Sep 17 00:00:00 2001 From: Lasse Larsen Date: Sat, 31 Jan 2026 07:18:23 +0100 Subject: [PATCH] fix: correct error message for --gated flag (#1391) The command can be invoked as 'bd ready --gated' or 'bd mol ready --gated', but the error message incorrectly said 'mol ready --gated'. Updated to show 'bd ready --gated' which is the more common invocation. --- cmd/bd/mol_ready_gated.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/bd/mol_ready_gated.go b/cmd/bd/mol_ready_gated.go index b0243e63f..bb0c78179 100644 --- a/cmd/bd/mol_ready_gated.go +++ b/cmd/bd/mol_ready_gated.go @@ -49,11 +49,11 @@ Examples: func runMolReadyGated(cmd *cobra.Command, args []string) { ctx := rootCtx - // mol ready --gated requires direct store access + // --gated mode requires direct store access if store == nil { if daemonClient != nil { - fmt.Fprintf(os.Stderr, "Error: mol ready --gated requires direct database access\n") - fmt.Fprintf(os.Stderr, "Hint: use --no-daemon flag: bd --no-daemon mol ready --gated\n") + fmt.Fprintf(os.Stderr, "Error: bd ready --gated requires direct database access\n") + fmt.Fprintf(os.Stderr, "Hint: use --no-daemon flag: bd --no-daemon ready --gated\n") } else { fmt.Fprintf(os.Stderr, "Error: no database connection\n") }