1060 |
02 Jun 10 |
peter |
// $Id$ |
1060 |
02 Jun 10 |
peter |
2 |
|
1060 |
02 Jun 10 |
peter |
3 |
/* |
1515 |
26 Sep 12 |
peter |
Copyright (C) 2010, 2012 Peter Johansson |
1060 |
02 Jun 10 |
peter |
5 |
|
1060 |
02 Jun 10 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
1060 |
02 Jun 10 |
peter |
7 |
|
1060 |
02 Jun 10 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
1060 |
02 Jun 10 |
peter |
under the terms of the GNU General Public License as published by |
1060 |
02 Jun 10 |
peter |
the Free Software Foundation; either version 3 of the License, or |
1060 |
02 Jun 10 |
peter |
(at your option) any later version. |
1060 |
02 Jun 10 |
peter |
12 |
|
1060 |
02 Jun 10 |
peter |
svndigest is distributed in the hope that it will be useful, but |
1060 |
02 Jun 10 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
1060 |
02 Jun 10 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1060 |
02 Jun 10 |
peter |
General Public License for more details. |
1060 |
02 Jun 10 |
peter |
17 |
|
1060 |
02 Jun 10 |
peter |
You should have received a copy of the GNU General Public License |
1060 |
02 Jun 10 |
peter |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
1060 |
02 Jun 10 |
peter |
20 |
*/ |
1060 |
02 Jun 10 |
peter |
21 |
|
1060 |
02 Jun 10 |
peter |
22 |
#include <config.h> |
1060 |
02 Jun 10 |
peter |
23 |
|
1060 |
02 Jun 10 |
peter |
24 |
#include "svncopyrightParameter.h" |
1060 |
02 Jun 10 |
peter |
25 |
|
1119 |
04 Jul 10 |
peter |
26 |
#include "lib/OptionVersion.h" |
1060 |
02 Jun 10 |
peter |
27 |
|
1060 |
02 Jun 10 |
peter |
28 |
#include <string> |
1060 |
02 Jun 10 |
peter |
29 |
|
1060 |
02 Jun 10 |
peter |
30 |
namespace theplu { |
1060 |
02 Jun 10 |
peter |
31 |
namespace svndigest { |
1060 |
02 Jun 10 |
peter |
32 |
|
1060 |
02 Jun 10 |
peter |
33 |
svncopyrightParameter::svncopyrightParameter(void) |
1060 |
02 Jun 10 |
peter |
34 |
: Parameter() |
1060 |
02 Jun 10 |
peter |
35 |
{ |
1060 |
02 Jun 10 |
peter |
36 |
} |
1060 |
02 Jun 10 |
peter |
37 |
|
1060 |
02 Jun 10 |
peter |
38 |
|
1060 |
02 Jun 10 |
peter |
39 |
void svncopyrightParameter::analyse2(void) |
1060 |
02 Jun 10 |
peter |
40 |
{ |
1060 |
02 Jun 10 |
peter |
41 |
} |
1060 |
02 Jun 10 |
peter |
42 |
|
1060 |
02 Jun 10 |
peter |
43 |
|
1060 |
02 Jun 10 |
peter |
44 |
void svncopyrightParameter::init2(void) |
1060 |
02 Jun 10 |
peter |
45 |
{ |
1484 |
24 Jul 12 |
peter |
46 |
root_.description("svn wc to perform copyright update on [.]"); |
1484 |
24 Jul 12 |
peter |
47 |
help_.synopsis() = |
1060 |
02 Jun 10 |
peter |
48 |
"Update copyright statement in files under subversion control\n"; |
1060 |
02 Jun 10 |
peter |
49 |
std::stringstream ss; |
1060 |
02 Jun 10 |
peter |
50 |
ss << "svncopyright (" << PACKAGE_NAME << ")"; |
1060 |
02 Jun 10 |
peter |
51 |
version_.program_name(ss.str()); |
1060 |
02 Jun 10 |
peter |
52 |
} |
1060 |
02 Jun 10 |
peter |
53 |
|
1060 |
02 Jun 10 |
peter |
54 |
|
1060 |
02 Jun 10 |
peter |
55 |
void svncopyrightParameter::set_default2(void) |
1060 |
02 Jun 10 |
peter |
56 |
{ |
1060 |
02 Jun 10 |
peter |
57 |
} |
1060 |
02 Jun 10 |
peter |
58 |
|
1060 |
02 Jun 10 |
peter |
59 |
|
1060 |
02 Jun 10 |
peter |
60 |
}} // of namespace svndigest and namespace theplu |