Changeset 981 for trunk/test
- Timestamp:
- Oct 22, 2007, 6:18:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/commandline_test.cc
r980 r981 25 25 #include "yat/utility/OptionArg.h" 26 26 #include "yat/utility/OptionFile.h" 27 #include "yat/utility/OptionHelp.h" 27 28 #include "yat/utility/OptionSwitch.h" 28 29 … … 84 85 CommandLine cmd; 85 86 OptionArg<std::string> dir(cmd, "d,dir", "output directory"); 86 Option Switch help(cmd, "h,help", "display this help and exit");87 OptionHelp help(cmd); 87 88 OptionSwitch target(cmd, "T,target", "treat DEST as a normal file", true); 88 89 OptionSwitch verbose(cmd, "v,verbose", "explain what is being done");
Note: See TracChangeset
for help on using the changeset viewer.