mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 17:44:04 +08:00
Implemented drive_no for command-line tool; binary base name is now a
parameter of the helpString method.
This commit is contained in:
@@ -43,11 +43,11 @@ CommandGraph::CommandGraph():
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
string CommandGraph::helpString() const
|
||||
string CommandGraph::helpString(const string &binaryBaseName) const
|
||||
{
|
||||
stringstream str;
|
||||
|
||||
str << getName() << " [OPTIONS]" << endl
|
||||
str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
|
||||
<< endl
|
||||
<< getBriefDescription() << endl
|
||||
<< endl
|
||||
|
||||
Reference in New Issue
Block a user