aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-07-07 06:54:26 +0000
committerPjotr Prins2017-07-07 06:54:26 +0000
commitb9758364059d52e153a9f1b4fcae3bc3f3e68422 (patch)
treecc3b526c1621ca452ded085114d7c40559c09887 /src/main.cpp
parentdd72b87354d1d3f6d3aa42ed0123a23880e9cb15 (diff)
downloadpangemma-b9758364059d52e153a9f1b4fcae3bc3f3e68422.tar.gz
Fix spacing
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b7ac884..c7f0573 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,12 +25,12 @@
using namespace std;
-int main(int argc, char * argv[]) {
- GEMMA cGemma;
+int main(int argc, char * argv[]) {
+ GEMMA cGemma;
PARAM cPar;
if (argc <= 1) {
- cGemma.PrintHeader();
+ cGemma.PrintHeader();
return EXIT_SUCCESS;
}
if (argc==2 && argv[1][0] == '-' && argv[1][1] == 'h') {
@@ -46,27 +46,27 @@ int main(int argc, char * argv[]) {
if (argc==2 && argv[1][0] == '-' && argv[1][1] == 'l') {
cGemma.PrintLicense();
return EXIT_SUCCESS;
- }
-
- cGemma.Assign(argc, argv, cPar);
+ }
+
+ cGemma.Assign(argc, argv, cPar);
ifstream check_dir((cPar.path_out).c_str());
if (!check_dir) {
mkdir((cPar.path_out).c_str(), S_IRWXU|S_IRGRP|S_IROTH);
- }
-
+ }
+
if (cPar.error==true) {return EXIT_FAILURE;}
-
+
if (cPar.mode_silence) {stringstream ss; cout.rdbuf (ss.rdbuf());}
-
+
cPar.CheckParam();
-
+
if (cPar.error==true) {return EXIT_FAILURE;}
-
+
cGemma.BatchRun(cPar);
-
+
if (cPar.error==true) {return EXIT_FAILURE;}
-
+
cGemma.WriteLog(argc, argv, cPar);
-
+
return EXIT_SUCCESS; }