Ignore:
Timestamp:
Oct 21, 2007, 9:46:14 PM (14 years ago)
Author:
Peter
Message:

fixing bug in OptionFile?. Dont try to create FileUtil? for option not present in commandline

File:
1 edited

Legend:

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

    r975 r979  
    3737     \brief Class for file related options
    3838   */
    39   class OptionFile : public OptionArg<char*>
     39  class OptionFile : public OptionArg<std::string>
    4040  {
    4141  public:
     
    4444       
    4545       \param cmd Commandline Option is associated with
    46        \param name string such as "file" for --file, "f" for -h or
     46       \param name string such as "file" for --file, "f" for -f or
    4747       "f,file" for having both short and long option name
    4848       \param desc string used in help display
    4949       \param exist if true File must exist
    50        \param bits used to check permission on file, @see
    51        FileUtil::permission
     50       \param bits used to check permission on file, see
     51       FileUtil
    5252    */
    5353    OptionFile(CommandLine& cmd, std::string name,
Note: See TracChangeset for help on using the changeset viewer.