mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-26 03:53:47 +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,12 @@ CommandRegRead::CommandRegRead():
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
string CommandRegRead::helpString() const
|
||||
string CommandRegRead::helpString(const string &binaryBaseName) const
|
||||
{
|
||||
stringstream str;
|
||||
|
||||
str << getName() << " [OPTIONS] <OFFSET> [LENGTH]" << endl
|
||||
str << binaryBaseName << " " << getName()
|
||||
<< " [OPTIONS] <OFFSET> [LENGTH]" << endl
|
||||
<< endl
|
||||
<< getBriefDescription() << endl
|
||||
<< endl
|
||||
|
||||
Reference in New Issue
Block a user