Changeset 581


Ignore:
Timestamp:
Apr 2, 2008, 4:27:13 PM (13 years ago)
Author:
Peter Johansson
Message:

--version output - changing format, fixing revision year mix-up, and using unicode to display character 'ä'

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r579 r581  
    264264    cs.width(0)=79;
    265265    cs << PACKAGE_STRING;
    266     if (verbose_) {
    267       cs << " (r" << svn_revision() << ")\n"
    268          << "   compiled " << __DATE__ ", " << __TIME__ << "\n";
    269     }
     266    cs << " (";
     267    if (DEV_BUILD)
     268      cs << "r" << svn_revision() << " ";
     269    cs << "compiled " << __DATE__ ", " << __TIME__ << ")\n";
    270270   
    271271    cs << "\nCopyright (C) " << svn_year()
    272        << " Jari Häkkinen and Peter Johansson.\n"
     272       << " Jari H\u00E4kkinen and Peter Johansson.\n"
    273273       << "This is free software. You may redistribute copies of it under "
    274274       << "the terms of the GNU General Public License "
  • trunk/lib/subversion_info.cc.in

    r569 r581  
    3030  std::string svn_revision(void)
    3131  {
    32     return "sub_2_svn_year";
     32    return "sub_2_svn_revision";
    3333  }
    3434
     
    3636  std::string svn_year(void)
    3737  {
    38     return "sub_2_svn_revision";
     38    return "sub_2_svn_year";
    3939  }
    4040
Note: See TracChangeset for help on using the changeset viewer.