src/parse.c
changeset 39 0ae006af497e
parent 38 c2f62d1b8d76
child 40 5b7e8dba46a0
equal deleted inserted replaced
38:c2f62d1b8d76 39:0ae006af497e
    30 };
    30 };
    31 
    31 
    32 const
    32 const
    33 char *COMMAND_LIST[] = {
    33 char *COMMAND_LIST[] = {
    34     "help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
    34     "help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
    35     "join:     Joins a new channel\r\n",
    35     "join      Joins a new channel\r\n",
    36     "leave:    Parts from the current channel\r\n",
    36     "leave     Parts from the current channel\r\n",
    37     "add:      adds an entry\r\n",
    37     "add       adds an entry\r\n",
    38     "replace:  replaces an entry\r\n",
    38     "replace   replaces an entry\r\n",
    39     "delete:   deletes an entry\r\n",
    39     "delete    deletes an entry\r\n",
    40     "list:     lists the number of stored values\r\n",
    40     "list      lists the number of stored values\r\n",
    41     "search:   searches an entry up\r\n",
    41     "search    searches an entry up\r\n",
    42     "info:     Prints the current Bot-Version\r\n",
    42     "info      Prints the current Bot-Version\r\n",
    43     "ping:     pings an host\r\n",
    43     "ping      pings an host\r\n",
    44     "on:       enables autolearning mode\r\n",
    44     "on        enables autolearning mode\r\n",
    45     "off:      disables autolearning\r\n",
    45     "off       disables autolearning\r\n",
    46     "debug:    prints some debug infos\r\n",
    46     "debug     prints some debug infos\r\n",
    47     "vaccuum:  reorganizes the database\r\n",
    47     "vaccuum   reorganizes the database\r\n",
    48     "logout:   Protected logout function\r\n",
    48     "logout    Protected logout function\r\n",
    49     NULL,
    49     NULL,
    50 };
    50 };
    51 
    51 
    52 const
    52 const
    53 char VISIBLE_ITEMS = 14;
    53 char VISIBLE_ITEMS = 14;