From 2a30af31c476e379ab43fe458b620bc53c18bf96 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 11 Mar 2010 16:50:27 +0100 Subject: [PATCH] Improved SoE command help. --- tool/CommandSoeRead.cpp | 3 +++ tool/CommandSoeWrite.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tool/CommandSoeRead.cpp b/tool/CommandSoeRead.cpp index a528e980..a12f3162 100644 --- a/tool/CommandSoeRead.cpp +++ b/tool/CommandSoeRead.cpp @@ -61,6 +61,9 @@ string CommandSoeRead::helpString() const << " Bit 11 - 0: Data block number" << endl << " or a string like 'P-0-150'." << endl << endl + << "Data of the given IDN are read and displayed according to" << endl + << "the given datatype, or as raw hex bytes." << endl + << endl << typeInfo() << endl << "Command-specific options:" << endl diff --git a/tool/CommandSoeWrite.cpp b/tool/CommandSoeWrite.cpp index ab5f1740..bb4942da 100644 --- a/tool/CommandSoeWrite.cpp +++ b/tool/CommandSoeWrite.cpp @@ -60,9 +60,11 @@ string CommandSoeWrite::helpString() const << " Bit 14 - 12: Parameter set (0 - 7)" << endl << " Bit 11 - 0: Data block number" << endl << " or a string like 'P-0-150'." << endl - << " VALUE is the value to write and is interpreted" << endl - << " as the given datatype (see above)." << endl + << " VALUE is the value to write (see below)." << endl << endl + << "The VALUE argument is interpreted as the given data type" << endl + << "(--type is mandatory) and written to the selected slave." << endl + << endl << typeInfo() << endl << "Command-specific options:" << endl