Skip to content

Commit 728230a

Browse files
committed
fix: resolve linting errors in struct tag for bosh scp help
Replace unescaped backticks with single quotes in the struct tag description to fix Go parser errors. Backticks within backtick-delimited struct tags cause syntax errors. Changes: - Replace `instance-group/id` with (instance-group/id) - Replace `bosh scp ...` with 'bosh scp ...' Fixes linting errors identified in code review.
1 parent c3e0b31 commit 728230a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/opts/opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ type SCPOpts struct {
10191019
}
10201020

10211021
type SCPArgs struct {
1022-
Paths []string `positional-arg-name:"PATH" description:"Strings referencing remote (e.g. \":/some/remote/path\" -- \"user@host\" may be omitted) or local paths (e.g. \"./some/local/path\"). To target specific instances, a bosh instance selector (`instance-group/id`, e.g. router/1) can be used in place of host, e.g. `bosh scp router/1:/path/on/instance /tmp/local/path. See CLI documentation for more examples."`
1022+
Paths []string `positional-arg-name:"PATH" description:"Strings referencing remote (e.g. \":/some/remote/path\" -- \"user@host\" may be omitted) or local paths (e.g. \"./some/local/path\"). To target specific instances, a bosh instance selector (instance-group/id, e.g. router/1) can be used in place of host, e.g. 'bosh scp router/1:/path/on/instance /tmp/local/path'. See CLI documentation for more examples."`
10231023
}
10241024

10251025
type GatewayFlags struct {

0 commit comments

Comments
 (0)