Skip to content

Commit fb24742

Browse files
committed
fix: Change diff suggestions for more natural sentence
1 parent 99693ce commit fb24742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/configssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ func configSSH() *cobra.Command {
355355
// configuration, so we output the entire command.
356356
diffCommand := fmt.Sprintf("$ %s %s", cmd.CommandPath(), strings.Join(append(coderConfig.asArgs(), "--diff"), " "))
357357
_, err = cliui.Prompt(cmd, cliui.PromptOptions{
358-
Text: fmt.Sprintf("The following changes will be made to your SSH configuration:\n\n * %s\n\n To see changes, run with --diff:\n\n %s\n\n Continue?", strings.Join(changes, "\n * "), diffCommand),
358+
Text: fmt.Sprintf("The following changes will be made to your SSH configuration:\n\n * %s\n\n To see changes, run diff:\n\n %s\n\n Continue?", strings.Join(changes, "\n * "), diffCommand),
359359
IsConfirm: true,
360360
})
361361
if err != nil {

0 commit comments

Comments
 (0)