From 39139e7a64fb90c9732dfba2b949808759d214d5 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Fri, 15 May 2015 18:09:38 +0100 Subject: beautify. --- phrase-extract/pcfg-extract/pcfg_extract.cc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'phrase-extract/pcfg-extract/pcfg_extract.cc') diff --git a/phrase-extract/pcfg-extract/pcfg_extract.cc b/phrase-extract/pcfg-extract/pcfg_extract.cc index becb8edee..29d63b994 100644 --- a/phrase-extract/pcfg-extract/pcfg_extract.cc +++ b/phrase-extract/pcfg-extract/pcfg_extract.cc @@ -43,11 +43,15 @@ #include #include -namespace MosesTraining { -namespace Syntax { -namespace PCFG { - -int PcfgExtract::Main(int argc, char *argv[]) { +namespace MosesTraining +{ +namespace Syntax +{ +namespace PCFG +{ + +int PcfgExtract::Main(int argc, char *argv[]) +{ // Process command-line options. Options options; ProcessOptions(argc, argv, options); @@ -87,7 +91,8 @@ int PcfgExtract::Main(int argc, char *argv[]) { } void PcfgExtract::ProcessOptions(int argc, char *argv[], - Options &options) const { + Options &options) const +{ namespace po = boost::program_options; std::ostringstream usage_top; @@ -96,7 +101,7 @@ void PcfgExtract::ProcessOptions(int argc, char *argv[], // Declare the command line options that are visible to the user. po::options_description visible(usage_top.str()); visible.add_options() - ("help", "print help message and exit") + ("help", "print help message and exit") ; // Declare the command line options that are hidden from the user -- cgit v1.2.3