Skip to content
Closed
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- **Search & get results in your terminal**
- **Search & get JSON** for programmatic consumption
- Make **GraphQL API requests** with auth easily & get JSON back fast
- Execute **[batch changes](https://docs.sourcegraph.com/batch_changes)**
- Execute **[batch changes](https://sourcegraph.com/docs/batch_changes)**
- **Manage & administrate** repositories, users, and more
- **Easily convert src-CLI commands to equivalent curl commands**, just add --get-curl!

Expand Down Expand Up @@ -161,7 +161,7 @@ Is your Sourcegraph instance behind a custom auth proxy? See [auth proxy configu
- `src login` - authenticate to a Sourcegraph instance with your user credentials
- `src search` - perform searches and get results in your terminal or as JSON
- `src api` - run Sourcegraph GraphQL API requests
- `src batch` - execute and manage [batch changes](https://docs.sourcegraph.com/batch_changes)
- `src batch` - execute and manage [batch changes](https://sourcegraph.com/docs/batch_changes)
- `src repos` - manage repositories
- `src users` - manage users
- `src orgs` - manages organization
Expand All @@ -173,7 +173,7 @@ Is your Sourcegraph instance behind a custom auth proxy? See [auth proxy configu
- `src version` - check version and guaranteed-compatible version for your Sourcegraph instance

Run `src -h` and `src <subcommand> -h` for more detailed usage information.
You can also read the [usage docs for the latest version of `src-cli`](https://docs.sourcegraph.com/cli/references) online.
You can also read the [usage docs for the latest version of `src-cli`](https://sourcegraph.com/docs/cli/references) online.

#### Optional: Renaming `src`

Expand Down
2 changes: 1 addition & 1 deletion cmd/src/code_intel_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func attachHintsForAuthorizationError(accessToken string, originalError error) e
return errorWithHint{err: originalError, hint: strings.Join(mergeStringSlices(
[]string{"This Sourcegraph instance has enforced auth for SCIP uploads."},
actionableHints,
[]string{"For more details, see https://docs.sourcegraph.com/cli/references/code-intel/upload."},
[]string{"For more details, see https://sourcegraph.com/docs/cli/references/code-intel/upload."},
), "\n")}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/src/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Other tips:

Force color output on (not on by default when piped to other programs) by setting COLOR=t

Query syntax: https://docs.sourcegraph.com/code_search/reference/queries
Query syntax: https://sourcegraph.com/docs/code_search/reference/queries

Be careful with search strings including negation: a search with an initial
negated term may be parsed as a flag rather than as a search string. You can
Expand Down
2 changes: 1 addition & 1 deletion cmd/src/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func init() {

EXPERIMENTAL: 'validate' is an experimental command in the 'src' tool.

Please visit https://docs.sourcegraph.com/admin/validation for documentation of the validate command.
Please visit https://sourcegraph.com/docs/admin/validation for documentation of the validate command.

Usage:

Expand Down
2 changes: 1 addition & 1 deletion internal/api/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewFlags(flagSet *flag.FlagSet) *Flags {
return &Flags{
dump: flagSet.Bool("dump-requests", false, "Log GraphQL requests and responses to stdout"),
getCurl: flagSet.Bool("get-curl", false, "Print the curl command for executing this query and exit (WARNING: includes printing your access token!)"),
trace: flagSet.Bool("trace", false, "Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing"),
trace: flagSet.Bool("trace", false, "Log the trace ID for requests. See https://sourcegraph.com/docs/admin/observability/tracing"),
insecureSkipVerify: flagSet.Bool("insecure-skip-verify", false, "Skip validation of TLS certificates against trusted chains"),
userAgentTelemetry: flagSet.Bool("user-agent-telemetry", defaultUserAgentTelemetry(), "Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph"),
}
Expand Down
2 changes: 1 addition & 1 deletion internal/batches/ui/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func printExecutionError(out *output.Output, err error) {
out.Write("")

block := out.Block(output.Line(output.EmojiLightbulb, output.StyleSuggestion, "The troubleshooting documentation can help to narrow down the cause of the errors:"))
block.WriteLine(output.Line("", output.StyleSuggestion, "https://docs.sourcegraph.com/batch_changes/references/troubleshooting"))
block.WriteLine(output.Line("", output.StyleSuggestion, "https://sourcegraph.com/docs/batch_changes/references/troubleshooting"))
block.Close()
}

Expand Down
Loading