[Genabel-commits] r1024 - branches/ProbABEL-refactoring/ProbABEL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 15 14:54:10 CET 2012


Author: lckarssen
Date: 2012-11-15 14:54:10 +0100 (Thu, 15 Nov 2012)
New Revision: 1024

Modified:
   branches/ProbABEL-refactoring/ProbABEL/src/command_line_settings.cpp
Log:
ProbABEL-refactoring: Fixed small bug where the name of the program was not shown when no command line options are given. 




Modified: branches/ProbABEL-refactoring/ProbABEL/src/command_line_settings.cpp
===================================================================
--- branches/ProbABEL-refactoring/ProbABEL/src/command_line_settings.cpp	2012-11-15 09:05:12 UTC (rev 1023)
+++ branches/ProbABEL-refactoring/ProbABEL/src/command_line_settings.cpp	2012-11-15 13:54:10 UTC (rev 1024)
@@ -154,8 +154,7 @@
     { "mmscore", 1, NULL, 'v' },
     { "robust", 0, NULL, 'u' },
     { NULL, 0, NULL, 0 } };
-    char * program_name = argv[0];
-    fprintf(stdout, "Usage: %s options\n", PACKAGE_VERSION);
+    program_name = argv[0];
 
     do
     {



More information about the Genabel-commits mailing list