mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 03:41:52 +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:
@@ -41,11 +41,11 @@ CommandVersion::CommandVersion():
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
string CommandVersion::helpString() const
|
||||
string CommandVersion::helpString(const string &binaryBaseName) const
|
||||
{
|
||||
stringstream str;
|
||||
|
||||
str << getName() << " [OPTIONS]" << endl
|
||||
str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
|
||||
<< endl
|
||||
<< getBriefDescription() << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user