@@ -140,8 +140,8 @@ func (r *RootCmd) scheduleStart() *serpent.Command {
140
140
client := new (codersdk.Client )
141
141
cmd := & serpent.Command {
142
142
Use : "start <workspace-name> { <start-time> [day-of-week] [location] | manual }" ,
143
- Long : scheduleStartDescriptionLong + "\n " + formatExamples (
144
- example {
143
+ Long : scheduleStartDescriptionLong + "\n " + FormatExamples (
144
+ Example {
145
145
Description : "Set the workspace to start at 9:30am (in Dublin) from Monday to Friday" ,
146
146
Command : "coder schedule start my-workspace 9:30AM Mon-Fri Europe/Dublin" ,
147
147
},
@@ -189,8 +189,8 @@ func (r *RootCmd) scheduleStop() *serpent.Command {
189
189
client := new (codersdk.Client )
190
190
return & serpent.Command {
191
191
Use : "stop <workspace-name> { <duration> | manual }" ,
192
- Long : scheduleStopDescriptionLong + "\n " + formatExamples (
193
- example {
192
+ Long : scheduleStopDescriptionLong + "\n " + FormatExamples (
193
+ Example {
194
194
Command : "coder schedule stop my-workspace 2h30m" ,
195
195
},
196
196
),
@@ -234,8 +234,8 @@ func (r *RootCmd) scheduleOverride() *serpent.Command {
234
234
overrideCmd := & serpent.Command {
235
235
Use : "override-stop <workspace-name> <duration from now>" ,
236
236
Short : "Override the stop time of a currently running workspace instance." ,
237
- Long : scheduleOverrideDescriptionLong + "\n " + formatExamples (
238
- example {
237
+ Long : scheduleOverrideDescriptionLong + "\n " + FormatExamples (
238
+ Example {
239
239
Command : "coder schedule override-stop my-workspace 90m" ,
240
240
},
241
241
),
0 commit comments