--- a/tools/main.cpp Wed Jun 11 13:01:21 2008 +0000
+++ b/tools/main.cpp Wed Jun 11 15:29:47 2008 +0000
@@ -34,6 +34,7 @@
<< "Usage: ethercat <COMMAND> [OPTIONS]" << endl
<< "Commands:" << endl
<< " alias Write alias address(es)." << endl
+ << " config Show slave configurations." << endl
<< " data Output binary domain process data." << endl
<< " debug Set the master debug level." << endl
<< " domain Show domain information." << endl
@@ -178,6 +179,8 @@
if (command == "alias") {
master.writeAlias(slavePosition, force, commandArgs);
+ } else if (command == "config") {
+ master.showConfig();
} else if (command == "data") {
master.outputData(domainIndex);
} else if (command == "debug") {