summaryrefslogtreecommitdiff
path: root/src/version_usage.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-27 05:55:02 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-04-27 05:55:02 +0000
commitb74e27ff923ca4cc02fc0586a9cf08bd3d2e7705 (patch)
tree5ff05dd056d636758e47ae6528b38a16b1d3e4c5 /src/version_usage.cc
parent393830739199a8da33df1922b547397eeeb486d4 (diff)
2008-04-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Reorganized version information so that it can be displayed in a standard terminal screen without scrolling. Removed http, ftp from Configuration section, because they are always enabled. * src/FeatureConfig.cc * src/FeatureConfig.h * src/main.cc * src/messageDigest.cc * src/messageDigest.h * src/version_usage.cc * test/FeatureConfigTest.cc
Diffstat (limited to 'src/version_usage.cc')
-rw-r--r--src/version_usage.cc30
1 files changed, 4 insertions, 26 deletions
diff --git a/src/version_usage.cc b/src/version_usage.cc
index 65c645b3..5fd48096 100644
--- a/src/version_usage.cc
+++ b/src/version_usage.cc
@@ -56,39 +56,17 @@ void showVersion() {
<< "Copyright (C) 2006, 2008 Tatsuhiro Tsujikawa" << "\n"
<< "\n"
<<
- _("This program is free software; you can redistribute it and/or modify\n"
- "it under the terms of the GNU General Public License as published by\n"
- "the Free Software Foundation; either version 2 of the License, or\n"
- "(at your option) any later version.\n"
- "\n"
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n"
- "\n"
- "You should have received a copy of the GNU General Public License\n"
- "along with this program; if not, write to the Free Software\n"
- "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n")
- << "\n"
-
- <<
- "In addition, as a special exception, the copyright holders give\n"
- "permission to link the code of portions of this program with the\n"
- "OpenSSL library under certain conditions as described in each\n"
- "individual source file, and distribute linked combinations\n"
- "including the two.\n"
- "You must obey the GNU General Public License in all respects\n"
- "for all of the code used other than OpenSSL. If you modify\n"
- "file(s) with this exception, you may extend this exception to your\n"
- "version of the file(s), but you are not obligated to do so. If you\n"
- "do not wish to do so, delete this exception statement from your\n"
- "version. If you delete this exception statement from all source\n"
- "files in the program, then also delete it here.\n"
<< "\n"
<< "** Configuration **" << "\n"
- << FeatureConfig::getInstance()->getConfigurationSummary()
+ << "Enabled Features: "
+ << FeatureConfig::getInstance()->featureSummary() << "\n"
#ifdef ENABLE_MESSAGE_DIGEST
- << "message digest algorithms: " << MessageDigestContext::getSupportedAlgoString() << "\n"
+ << "Hash Algorithms: "
+ << MessageDigestContext::getSupportedAlgoString() << "\n"
#endif // ENABLE_MESSAGE_DIGEST
<< "\n"
<< StringFormat(_("Report bugs to %s"), "<tujikawa at users dot sourceforge dot net>")