diff --git a/Utils/Console/OverloadedCommand.cc b/Utils/Console/OverloadedCommand.cc index cb405a78b22d599f37e9917b34e95c2f9681bd7e..c9e75298a2bb4c5e204c6ef5d01f84b536e2e7e1 100644 --- a/Utils/Console/OverloadedCommand.cc +++ b/Utils/Console/OverloadedCommand.cc @@ -167,7 +167,7 @@ prefix_ std::string senf::console::OverloadedCommandNode::v_shorthelp() for (; i != i_end; ++i) { std::string overloadDoc ((*i)->doc()); if (! overloadDoc.empty()) - return overloadDoc.substr(0,doc_.find('\n')); + return overloadDoc.substr(0,overloadDoc.find('\n')); } return ""; }