Skip to content

Commit b0fecd2

Browse files
committed
print experimental notice to stderr
1 parent b10b4ef commit b0fecd2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/src/mcp.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"encoding/json"
66
"flag"
77
"fmt"
8+
"os"
89
"strings"
910

1011
"github.com/sourcegraph/src-cli/internal/api"
@@ -22,7 +23,7 @@ func init() {
2223
})
2324
}
2425
func mcpMain(args []string) error {
25-
fmt.Println("NOTE: This command is still experimental")
26+
fmt.Fprintln(os.Stderr, "NOTE: This command is still experimental")
2627
apiClient := cfg.apiClient(nil, mcpFlagSet.Output())
2728

2829
ctx := context.Background()

0 commit comments

Comments
 (0)