summaryrefslogtreecommitdiff
path: root/src/version_usage.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
commitaa4ea8889c827df4b178b6ae6259b82e86bfbc5f (patch)
tree5e527bbdeb4f1703c615827ede961e11c2983440 /src/version_usage.cc
parenta7fcf83bdfabf213d80e32d72561764f82e6782d (diff)
clang-format-3.9
Diffstat (limited to 'src/version_usage.cc')
-rw-r--r--src/version_usage.cc26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/version_usage.cc b/src/version_usage.cc
index e4b779da..e30e41d9 100644
--- a/src/version_usage.cc
+++ b/src/version_usage.cc
@@ -67,14 +67,17 @@ void showVersion()
"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"
- << _("** Configuration **") << "\n" << _("Enabled Features") << ": "
- << featureSummary() << "\n" << _("Hash Algorithms") << ": "
- << MessageDigest::getSupportedHashTypeString() << "\n" << _("Libraries")
- << ": " << usedLibs() << "\n" << _("Compiler") << ": "
- << usedCompilerAndPlatform() << "\n" << _("System") << ": "
- << getOperatingSystemInfo() << "\n"
- << "\n" << fmt(_("Report bugs to %s"), PACKAGE_BUGREPORT) << "\n"
+ "GNU General Public License for more details.\n")
+ << "\n"
+ << _("** Configuration **") << "\n"
+ << _("Enabled Features") << ": " << featureSummary() << "\n"
+ << _("Hash Algorithms") << ": "
+ << MessageDigest::getSupportedHashTypeString() << "\n"
+ << _("Libraries") << ": " << usedLibs() << "\n"
+ << _("Compiler") << ": " << usedCompilerAndPlatform() << "\n"
+ << _("System") << ": " << getOperatingSystemInfo() << "\n"
+ << "\n"
+ << fmt(_("Report bugs to %s"), PACKAGE_BUGREPORT) << "\n"
<< _("Visit") << " " << PACKAGE_URL << std::endl;
}
@@ -105,8 +108,9 @@ void showUsage(const std::string& keyword,
out->printf("\n");
out->printf(_("Options:"));
out->printf("\n");
- for (std::vector<const OptionHandler*>::const_iterator i = handlers.begin(),
- eoi = handlers.end();
+ for (std::vector<const OptionHandler *>::const_iterator
+ i = handlers.begin(),
+ eoi = handlers.end();
i != eoi; ++i) {
write(out, *(*i));
out->printf("\n");
@@ -121,7 +125,7 @@ void showUsage(const std::string& keyword,
out->printf("\n");
out->printf(_("Options:"));
out->printf("\n");
- for (std::vector<const OptionHandler*>::const_iterator
+ for (std::vector<const OptionHandler *>::const_iterator
i = handlers.begin(),
eoi = handlers.end();
i != eoi; ++i) {