| 17 | } |
| 18 | |
| 19 | string help() { |
| 20 | return "Tool to convert daslang v1 syntax to v2\n" |
| 21 | "das-fmt {-i} filename1 {filename2} ...:\n" |
| 22 | " -i inplace conversion, write to the same file. Multiple filenames only allowed in inplace mode\n" |
| 23 | " --tests Run tests, no filenames required\n" |
| 24 | " --semicolon Keep semicolon after convertion\n" |
| 25 | ""; |
| 26 | } |
| 27 | |
| 28 | |
| 29 | struct TestData { |