Changeset 280
- Timestamp:
- May 6, 2007, 11:41:30 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r277 r280 3 3 ====================================================================== 4 4 Copyright (C) 2005, 2006 Jari Häkkinen 5 Copyright (C) 2007 Jari Häkkinen, Peter Johansson 5 6 6 7 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest … … 22 23 ====================================================================== 23 24 25 version 0.6: 26 - Removed option flag '-rev' 27 - More file extensions supported for parsing. 28 24 29 version 0.5: 25 30 - Added support for svndigest:ignore property. -
trunk/bin/Parameter.cc
r269 r280 98 98 if (!ok) 99 99 throw std::runtime_error("svndigest: invalid option: " + myargv + 100 "\nType 'svndigest --help' for usage.");100 "\nType `svndigest --help' for usage."); 101 101 } 102 102 … … 168 168 169 169 ColumnStream cs(std::cout, 1); 170 cs.width(0)= 68;171 cs.margin(0)= 2;170 cs.width(0)=79; 171 cs.margin(0)=0; 172 172 ColumnStream cs2(std::cout, 2); 173 173 cs2.width(0)=24; … … 175 175 cs2.margin(0)=2; 176 176 177 std::cout << " usage: svndigest [options]\n"177 std::cout << "Usage: svndigest [OPTION]...\n" 178 178 << "\n"; 179 179 180 cs << "svndigest traverses a directory structure (controlled by " 181 << "subversion) and calculates developer statistics entries. " 182 << "The top level directory of the directory structure to " 183 << "traverse is set with the -r option. The result is written to " 184 << "the current working directory or a directory set with the " 185 << "-t option.\n"; 186 std::cout << "\nValid options:\n"; 180 cs << "Generate statistical report for a subversion repository.\n"; 181 182 cs << "\nMandatory arguments to long options are mandatory for " 183 << "short options too.\n"; 187 184 188 185 cs2 << " --copyright\tupdate copyright statement\n" … … 201 198 << "-v, --verbose\texplain what is being done\n" 202 199 << " --version\tprint version information and exit\n"; 203 std::cout << std::endl; 200 201 std::cout << "\nReport bugs to <" << PACKAGE_BUGREPORT << ">." 202 << std::endl; 204 203 } 205 204 … … 207 206 void Parameter::version(void) const 208 207 { 209 using namespace std; 210 cout << PACKAGE_STRING 211 << "\nCopyright (C) 2006-2007 Jari Häkkinen and Peter Johansson.\n\n" 212 << "This is free software; see the source for copying conditions.\n" 213 << "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR\n" 214 << "A PARTICULAR PURPOSE." << endl; 208 ColumnStream cs(std::cout, 1); 209 cs.width(0)=79; 210 cs << PACKAGE_STRING 211 << "\nCopyright (C) 2007 Jari Häkkinen and Peter Johansson.\n\n" 212 << "This is free software; see the source for copying conditions." 213 << "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR\n" 214 << "A PARTICULAR PURPOSE.\n"; 215 215 } 216 216
Note: See TracChangeset
for help on using the changeset viewer.