--- a/tool/cmd_sdos.cpp Wed Jul 23 08:06:10 2008 +0000
+++ b/tool/cmd_sdos.cpp Wed Jul 23 16:16:30 2008 +0000
@@ -13,12 +13,33 @@
/****************************************************************************/
-// FIXME
const char *help_sdos =
"[OPTIONS]\n"
"\n"
+ "Displays the Sdo dictionary with Sdos and Sdo entries.\n"
"\n"
- "Command-specific options:\n";
+ "Sdo dictionary information is displayed in two layers, with are\n"
+ "indented accordingly:\n"
+ "\n"
+ "1) Sdos - Hexadecimal Sdo index and the name. Example:\n"
+ "\n"
+ " Sdo 0x1018, \"Identity object\"\n"
+ "\n"
+ "2) Sdo entries - Sdo index and Sdo entry subindex (both hexadecimal)\n"
+ " followed by the data type, the length in bit, and the description.\n"
+ " Example:\n"
+ "\n"
+ " 0x1018:01, uint32, 32 bit, \"Vendor id\"\n"
+ "\n"
+ "If the --quiet option is given, only the Sdos are printed.\n"
+ "\n"
+ "Command-specific options:\n"
+ " --slave -s <index> Positive numerical ring position, or 'all' for\n"
+ " all slaves (default).\n"
+ " --quiet -q Print only Sdos (without Sdo entries).\n"
+ "\n"
+ "Numerical values can be specified either with decimal (no prefix),\n"
+ "octal (prefix '0') or hexadecimal (prefix '0x') base.\n";
/****************************************************************************/