Skip to content

Commit

Permalink
add option
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincenzo Innocente committed Nov 4, 2009
1 parent fac1217 commit 54cdb7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CondCore/Utilities/src/Utilities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ cond::Utilities::Utilities( const std::string& commandName,
("debug","switch on debug mode")
("help,h", "help message")
;
if(!positionalParameter.empty()) m_positionalOptions.add( positionalParameter.c_str(), -1);
if(!positionalParameter.empty()) {
m_positionalOptions.add( positionalParameter.c_str(), -1);
addOption<std::string>(positionalParameter,"",positionalParameter);
}
}


Expand Down

0 comments on commit 54cdb7f

Please sign in to comment.