X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FProgramOptions.hh;h=ab3c5c5a1bed03c94f593d4d3174d523696bb8ed;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=2f985f3494952f3bee2703efb6948a0619c6f8d3;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Console/ProgramOptions.hh b/senf/Utils/Console/ProgramOptions.hh index 2f985f3..ab3c5c5 100644 --- a/senf/Utils/Console/ProgramOptions.hh +++ b/senf/Utils/Console/ProgramOptions.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -54,7 +54,7 @@ namespace console { // Parse only options under the directory of some object. The object 'ob' // must have been registered somewhere in the node tree cf.parse(ob.dir); - + // Parse rest of the config file cf.parse(); \endcode @@ -71,7 +71,7 @@ namespace console { /////////////////////////////////////////////////////////////////////////// ///\name Structors and default members ///@{ - + ProgramOptions(int argc, char const ** argv, DirectoryNode & root = root()); ///< Create ProgramOptions parser for given options /**< The given argc/argv values are those passed to main by @@ -80,7 +80,7 @@ namespace console { ///@} /////////////////////////////////////////////////////////////////////////// - + template ProgramOptions & nonOptions(Container & container); ///< Set container to add non-option arguments to @@ -96,7 +96,7 @@ namespace console { line. This argument will be appended (with an additional '=') to \a longOpt. If \a withArg is \c false (the default), \a longOpt may optional contain an - argument. + argument. \param[in] letter option letter \param[in] longOpt long option alias \param[in] withArg \c true, if the option should take