Ignore:
Timestamp:
Oct 23, 2014, 4:26:42 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
7305d5
Parents:
7b38d3
git-author:
Frederik Heber <heber@…> (10/17/14 16:50:10)
git-committer:
Frederik Heber <heber@…> (10/23/14 16:26:42)
Message:

CommandLineParser adds Action's default values as implicit.

  • this allows to have action's token as option with both empty (then default is used) and some given argument.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/CommandLineParser.hpp

    r7b38d3 rfe02bf  
    9090
    9191  // adds options to the parser
    92   void AddOptionToParser(const MoleCuilder::OptionTrait * const currentOption, po::options_description* OptionList);
     92  void AddOptionToParser(
     93      const MoleCuilder::OptionTrait * const currentOption,
     94      po::options_description* OptionList,
     95      const bool _DefaultAsImplicit);
    9396
    9497  // creates a map from short forms to action tokens needed to parse command line
Note: See TracChangeset for help on using the changeset viewer.