[Lemon-commits] Alpar Juttner: Doc improvement in ArgParser

Lemon HG hg at lemon.cs.elte.hu
Mon Mar 17 13:44:37 CET 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/2981a73d49a3
changeset: 90:2981a73d49a3
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Mon Mar 17 12:44:13 2008 +0000
description:
	Doc improvement in ArgParser

diffstat:

1 file changed, 7 insertions(+), 7 deletions(-)
lemon/arg_parser.h |   14 +++++++-------

diffs (69 lines):

diff -r e6452a49192c -r 2981a73d49a3 lemon/arg_parser.h
--- a/lemon/arg_parser.h	Mon Mar 17 11:03:35 2008 +0000
+++ b/lemon/arg_parser.h	Mon Mar 17 12:44:13 2008 +0000
@@ -127,7 +127,7 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
-    ///\retval value The value of the argument will be written to this variable.
+    ///\param value A default value for the option
     ///\param obl Indicate if the option is mandatory.
     ArgParser &intOption(const std::string &name,
 		    const std::string &help,
@@ -137,7 +137,7 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
-    ///\retval value The value of the argument will be written to this variable.
+    ///\param value A default value for the option
     ///\param obl Indicate if the option is mandatory.
     ArgParser &doubleOption(const std::string &name,
 		      const std::string &help,
@@ -147,7 +147,7 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
-    ///\retval value The value of the argument will be written to this variable.
+    ///\param value A default value for the option
     ///\param obl Indicate if the option is mandatory.
     ////\note A mandatory bool obtion is of very little use.)
     ArgParser &boolOption(const std::string &name,
@@ -158,7 +158,7 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
-    ///\retval value The value of the argument will be written to this variable.
+    ///\param value A default value for the option
     ///\param obl Indicate if the option is mandatory.
     ArgParser &stringOption(const std::string &name,
 		      const std::string &help,
@@ -174,8 +174,8 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
+    ///\param obl Indicate if the option is mandatory.
     ///\retval ref The value of the argument will be written to this variable.
-    ///\param obl Indicate if the option is mandatory.
     ArgParser &refOption(const std::string &name,
 		    const std::string &help,
 		    int &ref, bool obl=false);
@@ -184,8 +184,8 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
+    ///\param obl Indicate if the option is mandatory.
     ///\retval ref The value of the argument will be written to this variable.
-    ///\param obl Indicate if the option is mandatory.
     ArgParser &refOption(const std::string &name,
 		      const std::string &help,
 		      double &ref, bool obl=false);
@@ -194,8 +194,8 @@ namespace lemon {
 
     ///\param name The name of the option. The leading '-' must be omitted.
     ///\param help A help string.
+    ///\param obl Indicate if the option is mandatory.
     ///\retval ref The value of the argument will be written to this variable.
-    ///\param obl Indicate if the option is mandatory.
     ////\note A mandatory bool obtion is of very little use.)
     ArgParser &refOption(const std::string &name,
 		      const std::string &help,



More information about the Lemon-commits mailing list