Ignore:
Timestamp:
Oct 22, 2007, 5:26:04 PM (14 years ago)
Author:
Peter
Message:

adding description variable for cmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/OptionHelp.cc

    r981 r982  
    3838  {
    3939    usage_ = std::string("Usage: ")+cmd.program_name()+
    40       std::string(" [OPTION]...\n\n");
     40      std::string(" [OPTION]...\n");
    4141  }
    4242
     
    4545                               std::vector<std::string>::iterator last)
    4646  {
    47     std::cout << usage_ << synopsis_;
    48     std::cout << cmd();
     47    std::cout << usage_ << "\n" << synopsis_ << "\n";
     48    std::cout << cmd() << "\n";
    4949    std::cout << post_cmd_;
    5050    exit(0);
Note: See TracChangeset for help on using the changeset viewer.