[Genabel-commits] r1303 - pkg/ProbABEL/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 25 13:49:58 CEST 2013
Author: lckarssen
Date: 2013-08-25 13:49:57 +0200 (Sun, 25 Aug 2013)
New Revision: 1303
Modified:
pkg/ProbABEL/src/command_line_settings.cpp
Log:
ProbABEL: fix the fact that pa{linear,logist,coxph} -h gave a message about a missing argument.
Modified: pkg/ProbABEL/src/command_line_settings.cpp
===================================================================
--- pkg/ProbABEL/src/command_line_settings.cpp 2013-08-25 11:48:50 UTC (rev 1302)
+++ pkg/ProbABEL/src/command_line_settings.cpp 2013-08-25 11:49:57 UTC (rev 1303)
@@ -131,7 +131,7 @@
void cmdvars::set_variables(int argc, char * argv[])
{
int next_option;
- const char * const short_options = "p:i:d:m:n:c:o:s:t:g:a:erlh:b:vu";
+ const char * const short_options = "p:i:d:m:n:c:o:s:t:g:a:erlhb:vu";
//b - interaction parameter
// ADD --fv FLAG (FILEVECTOR), IN WHICH CASE USE ALTERNATIVE
// CONSTRUCTOR FOR GENDATA
@@ -168,6 +168,7 @@
{
case 'h':
print_help(program_name, 0);
+ break;
case 'p':
phefilename = optarg;
neco[0] = 1;
More information about the Genabel-commits
mailing list