Ignore:
Timestamp:
Oct 17, 2007, 11:03:37 PM (15 years ago)
Author:
Peter
Message:

adding Option class for argument associated with a file, and fixed minor issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/commandline_test.cc

    r965 r975  
    2424#include "yat/utility/CommandLine.h"
    2525#include "yat/utility/OptionArg.h"
     26#include "yat/utility/OptionFile.h"
    2627#include "yat/utility/OptionSwitch.h"
    2728
     
    6162  }
    6263
     64  CommandLine cmd;
     65  OptionFile file(cmd, "f,file", "description");
     66
    6367  if (!ok)
    6468    *error << "commandline test failed" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.