tool/CommandUpload.cpp
changeset 1157 04d1c950cf9d
parent 1155 bd4e5b544473
child 1166 006244d53f68
equal deleted inserted replaced
1156:ecaf2a896ea3 1157:04d1c950cf9d
    27 
    27 
    28     str << getName() << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
    28     str << getName() << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
    29         << endl
    29         << endl
    30         << getBriefDescription() << endl
    30         << getBriefDescription() << endl
    31         << endl
    31         << endl
       
    32         << "This command requires a single slave to be selected." << 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
    36         << "the --type option is mandatory."  << endl
    38         << "the --type option is mandatory."  << endl
    43         << "           16 bit number." << endl
    45         << "           16 bit number." << endl
    44         << "  SUBINDEX is the Sdo entry subindex and must be an" << endl
    46         << "  SUBINDEX is the Sdo entry subindex and must be an" << endl
    45         << "           unsigned 8 bit number." << endl
    47         << "           unsigned 8 bit number." << endl
    46         << endl
    48         << endl
    47         << "Command-specific options:" << endl
    49         << "Command-specific options:" << endl
    48         << "  --slave -s <index>  Positive numerical ring position" << endl
    50         << "  --alias    -a <alias>" << endl
    49         << "                      (mandatory)." << endl
    51         << "  --position -p <pos>    Slave selection. See the help of" << endl
    50         << "  --type  -t <type>   Sdo entry data type (see above)." << endl
    52         << "                         the 'slaves' command." << endl
       
    53         << "  --type     -t <type>   Sdo entry data type (see above)." << endl
    51         << endl
    54         << endl
    52         << numericInfo();
    55         << numericInfo();
    53 
    56 
    54     return str.str();
    57     return str.str();
    55 }
    58 }