tools/main.cpp
changeset 990 4f223f3df05a
parent 989 816663ca9370
child 1065 d1d2aa556344
--- 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") {