tool/cmd_debug.cpp
changeset 1130 bb1c11adb2db
parent 1126 b09fd81894cb
child 1136 a0982873d655
equal deleted inserted replaced
1129:4bc1d9f9d73c 1130:bb1c11adb2db
    11 #include "globals.h"
    11 #include "globals.h"
    12 
    12 
    13 /*****************************************************************************/
    13 /*****************************************************************************/
    14 
    14 
    15 const char *help_debug =
    15 const char *help_debug =
    16     "[OPTIONS]\n"
    16     "<LEVEL>\n"
    17     "\n"
    17     "\n"
       
    18     "Set the master debug level.\n"
    18     "\n"
    19     "\n"
    19     "Command-specific options:\n";
    20     "Debug messages are printed to syslog.\n"
       
    21     "\n"
       
    22     "Arguments:\n"
       
    23     "  LEVEL must be an unsigned integer, specified\n"
       
    24     "        either in decimal (no prefix), octal (prefix '0')\n"
       
    25     "        or hexadecimal (prefix '0x').\n"
       
    26     "        0 stands for no debugging output,\n"
       
    27     "        1 means some debug messages, and\n"
       
    28     "        2 outputs all frame data (use with caution!).\n";
    20 
    29 
    21 /****************************************************************************/
    30 /****************************************************************************/
    22 
    31 
    23 void command_debug(void)
    32 void command_debug(void)
    24 {
    33 {