tool/cmd_states.cpp
changeset 1137 a73c0f54be42
parent 1136 a0982873d655
equal deleted inserted replaced
1136:a0982873d655 1137:a73c0f54be42
     9 
     9 
    10 #include "globals.h"
    10 #include "globals.h"
    11 
    11 
    12 /****************************************************************************/
    12 /****************************************************************************/
    13 
    13 
    14 // FIXME
       
    15 const char *help_states =
    14 const char *help_states =
    16     "[OPTIONS]\n"
    15     "[OPTIONS] <STATE>\n"
    17     "\n"
    16     "\n"
       
    17     "Request an application-layer state change for the specified slaves.\n"
    18     "\n"
    18     "\n"
    19     "Command-specific options:\n";
    19     "Arguments:\n"
       
    20     "  STATE can be 'INIT', 'PREOP', 'SAFEOP', or 'OP'\n"
       
    21     "\n"
       
    22     "Command-specific options:\n"
       
    23     "  --slave -s <index>  Positive numerical ring position, or 'all' for\n"
       
    24     "                      all slaves (default).\n"
       
    25     "\n"
       
    26     "Numerical values can be specified either with decimal (no prefix),\n"
       
    27     "octal (prefix '0') or hexadecimal (prefix '0x') base.\n";
    20 
    28 
    21 /****************************************************************************/
    29 /****************************************************************************/
    22 
    30 
    23 void command_states(void)
    31 void command_states(void)
    24 {
    32 {