Skip to content
Snippets Groups Projects
Commit 790dcbcf authored by Thomas Russell Murphy's avatar Thomas Russell Murphy
Browse files

Changes suggested in #13 already conflicting

This further addresses the changes made in #13 that conflict with the updates to the documentation output made earlier today
parent 85b90127
No related branches found
No related tags found
No related merge requests found
......@@ -355,7 +355,7 @@ bool parseOptions(ASFormatter &formatter,
return ok;
}
void printHelpTitle()
void printTitle()
{
cout << endl;
......@@ -373,6 +373,7 @@ void printHelpTitle()
void printHelpBase()
{
printTitle();
SetColor(14,0);
cout << endl;
......@@ -603,8 +604,6 @@ int main(int argc, char *argv[])
_err = &cerr;
_suffix = ".orig";
printHelpTitle();
// manage flags
for (int i=1; i<argc; i++)
{
......@@ -676,6 +675,7 @@ int main(int argc, char *argv[])
if (!ok)
{
printHelpSimple();
exit(1);
}
}
}
......@@ -706,6 +706,9 @@ int main(int argc, char *argv[])
}
else
{
// Running in file-based mode, so can provide information on stdout
printTitle();
// indent the given files
for (int i=0; i<fileNameVector.size(); i++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment