equal
deleted
inserted
replaced
37 << " domain Show domain information." << endl |
37 << " domain Show domain information." << endl |
38 << " list (ls, slaves) List all slaves (former 'lsec')." << endl |
38 << " list (ls, slaves) List all slaves (former 'lsec')." << endl |
39 << " master Show master information." << endl |
39 << " master Show master information." << endl |
40 << " pdos List Pdo mapping." << endl |
40 << " pdos List Pdo mapping." << endl |
41 << " sdos List Sdo dictionaries." << endl |
41 << " sdos List Sdo dictionaries." << endl |
42 << " sdo_upload (su) Read Sdo entries." << endl |
42 << " sdo_download (sd) Write an Sdo entry." << endl |
|
43 << " sdo_upload (su) Read an Sdo entry." << endl |
43 << " state Request slave states." << endl |
44 << " state Request slave states." << endl |
44 << " xml Generate slave information xmls." << endl |
45 << " xml Generate slave information xmls." << endl |
45 << "Global options:" << endl |
46 << "Global options:" << endl |
46 << " --master -m <master> Index of the master to use. Default: " |
47 << " --master -m <master> Index of the master to use. Default: " |
47 << DEFAULT_MASTER << endl |
48 << DEFAULT_MASTER << endl |
176 master.showMaster(); |
177 master.showMaster(); |
177 } else if (command == "pdos") { |
178 } else if (command == "pdos") { |
178 master.listPdos(slavePosition, quiet); |
179 master.listPdos(slavePosition, quiet); |
179 } else if (command == "sdos") { |
180 } else if (command == "sdos") { |
180 master.listSdos(slavePosition, quiet); |
181 master.listSdos(slavePosition, quiet); |
|
182 } else if (command == "sdo_download" || command == "sd") { |
|
183 master.sdoDownload(slavePosition, dataTypeStr, commandArgs); |
181 } else if (command == "sdo_upload" || command == "su") { |
184 } else if (command == "sdo_upload" || command == "su") { |
182 master.sdoUpload(slavePosition, dataTypeStr, commandArgs); |
185 master.sdoUpload(slavePosition, dataTypeStr, commandArgs); |
183 } else if (command == "state") { |
186 } else if (command == "state") { |
184 master.requestStates(slavePosition, commandArgs); |
187 master.requestStates(slavePosition, commandArgs); |
185 } else if (command == "xml") { |
188 } else if (command == "xml") { |