X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FVariables.hh;h=4f93a93fcd3bd3d9862a1877a0a21478d4cb9a40;hb=731a143df4de38d4c8b0a81121990951971cd858;hp=870f2ed7a10f1aec239f54b64efe4ddb9e8b1937;hpb=61895b04f84c4c5ce8974d187bbc739c70fdf898;p=senf.git diff --git a/Utils/Console/Variables.hh b/Utils/Console/Variables.hh index 870f2ed..4f93a93 100644 --- a/Utils/Console/Variables.hh +++ b/Utils/Console/Variables.hh @@ -86,6 +86,7 @@ namespace console { typedef ConstVariableAttributor return_type; ConstVariableAttributor doc(std::string const & doc); + ConstVariableAttributor shortdoc(std::string const & doc); ConstVariableAttributor formatter(Formatter formatter); OverloadedCommandNode & node() const; ///< Return the node object @@ -145,6 +146,7 @@ namespace console { typedef typename ConstVariableAttributor::QueryOverload QueryOverload; VariableAttributor doc(std::string const & doc); ///< Set documentation of the variable + VariableAttributor shortdoc(std::string const & doc); ///< Set short documentation VariableAttributor formatter(Formatter formatter); ///< Set formatter /**< The \a formatter must be a callable with a signature compatible with