Skip to content

Commit aa9ca2a

Browse files
authored
chore: update schedule description to include weekly (#4712)
* chore: update schedule description to include `weekly` * chore: add `weekly` option to enum for MCP server
1 parent 33237de commit aa9ca2a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/command/machine/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ var sharedFlags = flag.Set{
109109
},
110110
flag.String{
111111
Name: "schedule",
112-
Description: `Schedule a Machine run at hourly, daily and monthly intervals`,
112+
Description: `Schedule a Machine run at hourly, daily, weekly and monthly intervals`,
113113
},
114114
flag.Bool{
115115
Name: "skip-dns-registration",

internal/command/mcp/server/machine.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ var MachineCommands = []FlyCommand{
320320
Description: "Schedule for the new machine",
321321
Required: false,
322322
Type: "enum",
323-
Enum: []string{"hourly", "daily", "monthly"},
323+
Enum: []string{"hourly", "daily", "weekly", "monthly"},
324324
},
325325
"skip-dns-registration": {
326326
Description: "Skip DNS registration for the new machine",
@@ -997,7 +997,7 @@ var MachineCommands = []FlyCommand{
997997
Description: "Schedule for the new machine",
998998
Required: false,
999999
Type: "enum",
1000-
Enum: []string{"hourly", "daily", "monthly"},
1000+
Enum: []string{"hourly", "daily", "weekly", "monthly"},
10011001
},
10021002
"skip-dns-registration": {
10031003
Description: "Skip DNS registration for the new machine",
@@ -1488,7 +1488,7 @@ var MachineCommands = []FlyCommand{
14881488
Description: "Schedule for the new machine",
14891489
Required: false,
14901490
Type: "enum",
1491-
Enum: []string{"hourly", "daily", "monthly"},
1491+
Enum: []string{"hourly", "daily", "weekly", "monthly"},
14921492
},
14931493
"skip-dns-registration": {
14941494
Description: "Skip DNS registration for the new machine",

0 commit comments

Comments
 (0)