]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.cpp
added parse.list command
[mothur.git] / mothur.cpp
index b71057a24550aaad2b07bc1d7794a6710191409e..7acf3894e150f24a8eaaa5bc72f0e752bab4ecc6 100644 (file)
@@ -41,7 +41,11 @@ int main(int argc, char *argv[]){
                        mothurOutJustToLog("Windows version");
                        mothurOutEndLine(); mothurOutEndLine();
                #endif          
-
+               
+               #ifdef USE_READLINE
+                       mothurOutJustToLog("Using ReadLine");
+                       mothurOutEndLine(); mothurOutEndLine();
+               #endif
                
                //header
                mothurOut("mothur v.1.8");
@@ -89,12 +93,21 @@ int main(int argc, char *argv[]){
                        input = argv[1];
 
                        if (input[0] == '#') {
+                               mothurOutJustToLog("Script Mode");
+                               mothurOutEndLine(); mothurOutEndLine();
+
                                mothur = new ScriptEngine(argv[0], argv[1]);
                        }else{
+                               mothurOutJustToLog("Batch Mode");
+                               mothurOutEndLine(); mothurOutEndLine();
+                               
                                mothur = new BatchEngine(argv[0], argv[1]);
                        }
                }
                else{
+                       mothurOutJustToLog("Interactive Mode");
+                       mothurOutEndLine(); mothurOutEndLine();
+                       
                        mothur = new InteractEngine(argv[0]);   
                }