Ignore:
Timestamp:
Sep 2, 2008, 4:57:50 PM (13 years ago)
Author:
Peter
Message:

fixes #413

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/CommandLine.h

    r1466 r1468  
    107107
    108108    /**
     109       \brief Allow at most \a n free arguments.
     110
     111       An free argument is an argument not associated with an Option,
     112       allowing commandlines such as \code prog foo bar \endcode
     113     */
     114    void allow_free_args(size_t n);
     115
     116    /**
    109117       \brief parse the commandline
    110118
     
    134142    std::string description_;
    135143    std::vector<std::string> free_arg_;
     144    size_t free_arg_max_;
    136145    std::vector<Option*> options_;
    137146    std::map<char, Option*> short_options_;
Note: See TracChangeset for help on using the changeset viewer.