tool/CommandDownload.cpp
changeset 1157 04d1c950cf9d
parent 1155 bd4e5b544473
child 1166 006244d53f68
equal deleted inserted replaced
1156:ecaf2a896ea3 1157:04d1c950cf9d
    26     stringstream str;
    26     stringstream str;
    27 
    27 
    28     str << getName() << " [OPTIONS] <INDEX> <SUBINDEX> <VALUE>" << endl
    28     str << getName() << " [OPTIONS] <INDEX> <SUBINDEX> <VALUE>" << endl
    29     	<< endl
    29     	<< endl
    30     	<< getBriefDescription() << endl
    30     	<< getBriefDescription() << endl
       
    31         << endl
       
    32         << "This command requires a single slave to be selected." << endl
    31     	<< endl
    33     	<< endl
    32     	<< "The data type of the Sdo entry is taken from the Sdo" << endl
    34     	<< "The data type of the Sdo entry is taken from the Sdo" << endl
    33 		<< "dictionary by default. It can be overridden with the" << endl
    35 		<< "dictionary by default. It can be overridden with the" << endl
    34 		<< "--type option. If the slave does not support the Sdo" << endl
    36 		<< "--type option. If the slave does not support the Sdo" << endl
    35 		<< "information service or the Sdo is not in the dictionary," << endl
    37 		<< "information service or the Sdo is not in the dictionary," << endl
    45 		<< "           unsigned 8 bit number." << endl
    47 		<< "           unsigned 8 bit number." << endl
    46     	<< "  VALUE    is the value to download and must correspond" << endl
    48     	<< "  VALUE    is the value to download and must correspond" << endl
    47 		<< "           to the Sdo entry datatype (see above)." << endl
    49 		<< "           to the Sdo entry datatype (see above)." << endl
    48     	<< endl
    50     	<< endl
    49     	<< "Command-specific options:" << endl
    51     	<< "Command-specific options:" << endl
    50     	<< "  --slave -s <index>  Positive numerical ring position" << endl
    52         << "  --alias    -a <alias>" << endl
    51 		<< "                      (mandatory)." << endl
    53         << "  --position -p <pos>    Slave selection. See the help of" << endl
    52     	<< "  --type  -t <type>   Sdo entry data type (see above)." << endl
    54         << "                         the 'slaves' command." << endl
       
    55     	<< "  --type     -t <type>   Sdo entry data type (see above)." << endl
    53     	<< endl
    56     	<< endl
    54 		<< numericInfo();
    57 		<< numericInfo();
    55 
    58 
    56 	return str.str();
    59 	return str.str();
    57 }
    60 }