Changeset 83 for trunk/bin


Ignore:
Timestamp:
Mar 13, 2006, 9:45:26 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixed ticket:21 version information is taken from configure.ac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r73 r83  
    22
    33#include "Parameter.h"
     4#include <config.h> // this header file is created by configure
    45
    56#include <iostream>
     
    104105  void Parameter::version(void)
    105106  {
    106     std::cout << "svnstat 0.1\n"
    107               << "Written by Jari Hakkinen and Peter Johansson.\n"
    108               << std::endl;
     107    using namespace std;
     108    cout << PACKAGE_STRING
     109         << "\nCopyright (C) 2006 Jari Häkkinen and Peter Johansson.\n\n"
     110         << "This is free software; see the source for copying conditions.\n"
     111         << "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR\n"
     112         << "A PARTICULAR PURPOSE." << endl;
    109113  }
    110114
Note: See TracChangeset for help on using the changeset viewer.