Chromium Code Reviews| Index: tools/gn/function_read_file.cc |
| diff --git a/tools/gn/function_read_file.cc b/tools/gn/function_read_file.cc |
| index 11585d8961531d8046a4531cc8cab1580a2ea12e..34f20dcc6136569d450b1fd3bf7a4b59a3b90600 100644 |
| --- a/tools/gn/function_read_file.cc |
| +++ b/tools/gn/function_read_file.cc |
| @@ -20,24 +20,24 @@ const char kReadFile[] = "read_file"; |
| const char kReadFile_HelpShort[] = |
| "read_file: Read a file into a variable."; |
| const char kReadFile_Help[] = |
| - "read_file: Read a file into a variable.\n" |
| - "\n" |
| - " read_file(filename, input_conversion)\n" |
| - "\n" |
| - " Whitespace will be trimmed from the end of the file. Throws an error\n" |
| - " if the file can not be opened.\n" |
| - "\n" |
| - "Arguments:\n" |
| - "\n" |
| - " filename\n" |
| - " Filename to read, relative to the build file.\n" |
| - "\n" |
| - " input_conversion\n" |
| - " Controls how the file is read and parsed.\n" |
| - " See \"gn help input_conversion\".\n" |
| - "\n" |
| - "Example\n" |
| - " lines = read_file(\"foo.txt\", \"list lines\")\n"; |
| + R"(read_file: Read a file into a variable. |
| + |
| + read_file(filename, input_conversion) |
| + |
| + Whitespace will be trimmed from the end of the file. Throws an error if the |
| + file can not be opened. |
| + |
| +Arguments |
| + |
| + filename |
| + Filename to read, relative to the build file. |
| + |
| + input_conversion |
| + Controls how the file is read and parsed. See "gn help input_conversion". |
| + |
| +Example |
| + |
| + lines = read_file("foo.txt", "list lines"))"; |
|
scottmg
2016/11/08 00:27:53
here
|
| Value RunReadFile(Scope* scope, |
| const FunctionCallNode* function, |