Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func Init(name string, version string) {
Root.SetHelpTemplate(`{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces | highlight}}

{{end}}{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}{{if not .HasParent}}
Documentation: https://docs.asksurf.ai/llms.txt
Documentation: https://agents.asksurf.ai/llms.txt
Report issues: https://github.com/asksurf-ai/surf-cli/issues
{{end}}`)

Expand Down
4 changes: 2 additions & 2 deletions cmd/surf/usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func TestHelpFooterDocLink(t *testing.T) {
t.Run("root help has footer", func(t *testing.T) {
out, _ := exec.Command(bin, "--help").CombinedOutput()
s := string(out)
if !strings.Contains(s, "https://docs.asksurf.ai/llms.txt") {
if !strings.Contains(s, "https://agents.asksurf.ai/llms.txt") {
t.Errorf("root --help missing docs link:\n%s", s)
}
if !strings.Contains(s, "https://github.com/asksurf-ai/surf-cli/issues") {
Expand All @@ -219,7 +219,7 @@ func TestHelpFooterDocLink(t *testing.T) {
t.Run("subcommand help has no footer", func(t *testing.T) {
out, _ := exec.Command(bin, "market-price", "--help").CombinedOutput()
s := string(out)
if strings.Contains(s, "https://docs.asksurf.ai/llms.txt") {
if strings.Contains(s, "https://agents.asksurf.ai/llms.txt") {
t.Errorf("market-price --help should NOT carry root footer:\n%s", s)
}
})
Expand Down
Loading