Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2006, 10:19:55 AM (18 years ago)
Author:
rennerc
Message:

added audio commandline args

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/parser/preferences/cmd_line_prefs_reader.cc

    r7258 r7261  
    146146 
    147147  arg.longOption = longOption;
     148  while ( arg.longOption.find("_") != std::string::npos )
     149  {
     150    arg.longOption.replace( arg.longOption.find("_"), 1, "-" );
     151  }
    148152  arg.shortOption = shortOption;
     153  if ( arg.shortOption == '_' )
     154    arg.shortOption = '\0';
    149155  arg.value = value;
    150156  arg.help = help;
Note: See TracChangeset for help on using the changeset viewer.