Update of /cvsroot/boost/boost/tools/quickbook/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11122
Modified Files:
quickbook.cpp
Log Message:
bumped the version to 1.4
Index: quickbook.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/detail/quickbook.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- quickbook.cpp 20 Dec 2006 15:41:20 -0000 1.29
+++ quickbook.cpp 20 Jul 2007 03:57:00 -0000 1.30
@@ -26,7 +26,7 @@
#pragma warning(disable:4355)
#endif
-#define QUICKBOOK_VERSION "Quickbook Version 1.3"
+#define QUICKBOOK_VERSION "Quickbook Version 1.4"
namespace quickbook
{
@@ -139,7 +139,7 @@
int
main(int argc, char* argv[])
{
- try
+ try
{
using boost::program_options::options_description;
using boost::program_options::variables_map;
@@ -165,18 +165,18 @@
("debug", "debug mode (for developers)")
("ms-errors", "use Microsoft Visual Studio style error & warn
message format")
;
-
+
positional_options_description p;
p.add("input-file", -1);
-
+
variables_map vm;
int indent = -1;
int linewidth = -1;
bool pretty_print = true;
store(command_line_parser(argc,
argv).options(desc).positional(p).run(), vm);
- notify(vm);
-
- if (vm.count("help"))
+ notify(vm);
+
+ if (vm.count("help"))
{
std::cout << desc << "\n";
return 0;
@@ -187,7 +187,7 @@
std::cout << QUICKBOOK_VERSION << std::endl;
return 0;
}
-
+
if (vm.count("ms-errors"))
quickbook::ms_errors = true;
@@ -199,7 +199,7 @@
if (vm.count("linewidth"))
linewidth = vm["linewidth"].as<int>();
-
+
if (vm.count("debug"))
{
static tm timeinfo;
@@ -243,7 +243,7 @@
std::cout << "Generating Output File: "
<< fileout
<< std::endl;
-
+
return quickbook::parse(filein.c_str(), fileout.c_str(), indent,
linewidth, pretty_print);
}
else
@@ -251,14 +251,14 @@
quickbook::detail::outerr("",0) << "Error: No filename given" <<
std::endl;
}
}
-
- catch(std::exception& e)
+
+ catch(std::exception& e)
{
quickbook::detail::outerr("",0) << "Error: " << e.what() << "\n";
return 1;
}
- catch(...)
+ catch(...)
{
quickbook::detail::outerr("",0) << "Error: Exception of unknown type
caught\n";
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs