diff -r 69056c46aa4d -r bc2d4bf9cbe5 tool/CommandRegWrite.cpp --- a/tool/CommandRegWrite.cpp Thu Sep 06 19:52:17 2012 +0200 +++ b/tool/CommandRegWrite.cpp Thu Sep 06 20:22:24 2012 +0200 @@ -51,7 +51,7 @@ str << binaryBaseName << " " << getName() << " [OPTIONS] " << endl - << endl + << endl << getBriefDescription() << endl << endl << "This command requires a single slave to be selected." << endl @@ -91,7 +91,7 @@ err << "'" << getName() << "' takes exactly two arguments!"; throwInvalidUsageException(err); } - + strOffset << args[0]; strOffset >> resetiosflags(ios::basefield) // guess base from prefix @@ -100,7 +100,7 @@ err << "Invalid offset '" << args[0] << "'!"; throwInvalidUsageException(err); } - + if (getDataType().empty()) { if (args[1] == "-") { loadRegData(&data, cin);