Skip to content

Commit 240d26c

Browse files
committed
fix: gofmt formatting
1 parent 1f0529a commit 240d26c

2 files changed

Lines changed: 15 additions & 16 deletions

File tree

cmd/mcptools/commands/root.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ import (
99

1010
// flags.
1111
const (
12-
FlagFormat = "--format"
13-
FlagFormatShort = "-f"
14-
FlagParams = "--params"
15-
FlagParamsShort = "-p"
16-
FlagHelp = "--help"
17-
FlagHelpShort = "-h"
18-
FlagServerLogs = "--server-logs"
19-
FlagTransport = "--transport"
20-
FlagAuthUser = "--auth-user"
21-
FlagAuthHeader = "--auth-header"
22-
FlagQuiet = "--quiet"
23-
FlagQuietShort = "-q"
12+
FlagFormat = "--format"
13+
FlagFormatShort = "-f"
14+
FlagParams = "--params"
15+
FlagParamsShort = "-p"
16+
FlagHelp = "--help"
17+
FlagHelpShort = "-h"
18+
FlagServerLogs = "--server-logs"
19+
FlagTransport = "--transport"
20+
FlagAuthUser = "--auth-user"
21+
FlagAuthHeader = "--auth-header"
22+
FlagQuiet = "--quiet"
23+
FlagQuietShort = "-q"
2424
)
2525

2626
// entity types.

cmd/mcptools/commands/shell_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,11 @@ func TestShellExit(t *testing.T) {
366366
}
367367
}
368368

369-
370369
func TestShellQuietFlag(t *testing.T) {
371370
tests := []struct {
372-
name string
373-
args []string
374-
expectStartup bool
371+
name string
372+
args []string
373+
expectStartup bool
375374
}{
376375
{
377376
name: "without quiet flag shows startup messages",

0 commit comments

Comments
 (0)