87
87
// text is already whole file.
88
88
command = fmt.Sprintf("code %q", file)
91
91
text = oneLine(file, text, arg[0])
93
command = fmt.Sprintf("code %q %s %s", file, format(arg[0]), format(arg[1]))
93
command = fmt.Sprintf("code %q %s %s", file, stringFor(arg[0]), stringFor(arg[1]))
94
94
text = multipleLines(file, text, arg[0], arg[1])
96
96
return "", fmt.Errorf("incorrect code invocation: code %q %q", file, arg)