Run dfmt on itself

This commit is contained in:
Hackerpilot 2015-03-14 18:26:42 -07:00
parent 12060fb92c
commit ce128d8c62
1 changed files with 69 additions and 66 deletions

View File

@ -38,8 +38,9 @@ version (NoMain)
{ {
} }
else else
int main(string[] args)
{ {
int main(string[] args)
{
import std.getopt : getopt; import std.getopt : getopt;
bool inplace = false; bool inplace = false;
@ -84,7 +85,8 @@ else
if (isDir(path)) if (isDir(path))
{ {
inplace = true; inplace = true;
foreach (string name; dirEntries(path, "*.d", SpanMode.depth)) foreach (string name; dirEntries(path, "*.d",
SpanMode.depth))
{ {
args ~= name; args ~= name;
} }
@ -99,6 +101,7 @@ else
} }
} }
return 0; return 0;
}
} }
private: private: