Ignore:
Timestamp:
Nov 17, 2008, 10:53:16 PM (14 years ago)
Author:
Peter
Message:

made help output more flexible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/commandline_test.cc

    r1602 r1629  
    7676  OptionArg<std::string> dir(cmd, "d,dir", "output directory");
    7777  OptionHelp help(cmd);
    78   OptionSwitch target(cmd, "T,target", "treat DEST as a normal file", true);
     78  OptionArg<std::string> target(cmd, "T,target", "treat DEST as a normal file",
     79                                true, "TARGET");
    7980  OptionSwitch verbose(cmd, "v,verbose", "explain what is being done");
    8081  OptionSwitch version(cmd, "version", "output version and exit");
Note: See TracChangeset for help on using the changeset viewer.