Changeset 1631 for trunk/yat


Ignore:
Timestamp:
Nov 19, 2008, 3:57:23 PM (12 years ago)
Author:
Peter
Message:

no reason to have a hard-coded '=' if we wanna allow flexibility

File:
1 edited

Legend:

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

    r1630 r1631  
    5959       \param required If true option must be found in commandline or
    6060       exception is thrown in validation
    61        \param arg string to be used in help output such as `TARGET' in
     61       \param arg string to be used in help output such as `=TARGET' in
    6262       `--target=TARGET'. See print3(). New in yat 0.5.
    6363    */
     
    160160    virtual std::string print3(void) const
    161161    {
    162       if (print_arg_.empty())
    163         return std::string("");
    164       return std::string("=")+print_arg_;
     162      return print_arg_;
    165163    }
    166164
Note: See TracChangeset for help on using the changeset viewer.