Changeset 149 for trunk/bin/Parameter.cc


Ignore:
Timestamp:
Aug 12, 2006, 11:11:46 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Changed svnstat to svndigest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r122 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu {
    34 namespace svnstat {
     34namespace svndigest {
    3535
    3636  Parameter::Parameter(const int argc,const char *argv[])
     
    7474
    7575      if (!ok)
    76         throw std::runtime_error("svnstat: invalid option: " + myargv +
    77                                  "\nType 'svnstat --help' for usage.");
     76        throw std::runtime_error("svndigest: invalid option: " + myargv +
     77                                 "\nType 'svndigest --help' for usage.");
    7878    }
    7979
     
    104104    // check that root directory exists
    105105    if (stat(root_.c_str(),&buf))
    106       throw std::runtime_error("\nsvnstat: " + root_ + ": No such directory.");
     106      throw std::runtime_error("\nsvndigest: " + root_ + ": No such directory.");
    107107
    108108    // check that target directory exists
    109109    if (stat(targetdir_.c_str(),&buf)){
    110       throw std::runtime_error("\nsvnstat: " + targetdir_ +
     110      throw std::runtime_error("\nsvndigest: " + targetdir_ +
    111111                               ": No such directory.");
    112112    }
     
    129129    defaults();
    130130    std::cout << "\n"
    131               << "usage: svnstat [options]\n"
     131              << "usage: svndigest [options]\n"
    132132              << "\n"
    133               << "svnstat traverses a directory structure (controlled by\n"
     133              << "svndigest traverses a directory structure (controlled by\n"
    134134              << "subversion) and calculates developer statistics entries.\n"
    135135              << "The top level directory of the directory structure to\n"
Note: See TracChangeset for help on using the changeset viewer.