mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-25 03:23:46 +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:
@@ -47,11 +47,11 @@ CommandConfig::CommandConfig():
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
string CommandConfig::helpString() const
|
||||
string CommandConfig::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