[Genabel-commits] r1439 - pkg/ProbABEL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 29 20:45:58 CET 2013


Author: maksim
Date: 2013-11-29 20:45:57 +0100 (Fri, 29 Nov 2013)
New Revision: 1439

Modified:
   pkg/ProbABEL/src/command_line_settings.cpp
Log:
Fixed  bug [#4776] Specifying --sep=t as an option to pa* doesn't insert a TAB as separator.

Modified: pkg/ProbABEL/src/command_line_settings.cpp
===================================================================
--- pkg/ProbABEL/src/command_line_settings.cpp	2013-11-29 17:47:02 UTC (rev 1438)
+++ pkg/ProbABEL/src/command_line_settings.cpp	2013-11-29 19:45:57 UTC (rev 1439)
@@ -205,7 +205,14 @@
             ngpreds = atoi(optarg);
             break;
         case 'a':
-            sep = optarg;
+            if(std::string(optarg) == std::string("\\t")) 
+               {
+               sep = '\t';
+               }
+            else
+             {
+             sep = optarg;
+             }  
             break;
         case 'e':
             nohead = 1;



More information about the Genabel-commits mailing list