Changeset 1889


Ignore:
Timestamp:
Mar 31, 2009, 9:21:32 PM (12 years ago)
Author:
Peter
Message:

corrected example - do not call program_name() prior parse().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.5-stable/yat/utility/CommandLine.h

    r1882 r1889  
    5959     OptionSwitch version(cmd, "version", "output version and exit");
    6060     std::stringstream copyright;
    61      copyright << cmd.program_name() << " 1.0\n"
     61     copyright << "example 1.0\n"
    6262               << "Copyright (C) 2007 Peter Johansson\n\n"
    6363               << "This is free software see the source for copying "
Note: See TracChangeset for help on using the changeset viewer.