Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • help.c

    rce68f23 ra16d7e5  
    44void owl_help(void)
    55{
     6  const owl_variable *v;
    67  owl_fmtext fm;
    78  const char *varname;
     
    6970     "    w             Open a URL in the current message\n"
    7071     "    C-l           Refresh the screen\n"
    71      "    C-z           Suspend Owl\n"
     72     "    C-z           Suspend BarnOwl\n"
    7273     "    h             Print this help message\n"
    7374     "    : , M-x       Enter command mode\n"
     
    8384  owl_fmtext_append_normal
    8485    (&fm,
    85      "    quit, exit    Exit owl\n"
     86     "    quit, exit    Exit BarnOwl\n"
    8687     "    help          Get help about commands\n"
    87      "    show          Show information about owl (see detailed help)\n"
     88     "    show          Show information about BarnOwl (see detailed help)\n"
    8889     "\n"
    8990     "    zwrite        Send a zephyr\n"
     
    101102     "    set           Set a variable (see list below)\n"
    102103     "    print         Print a variable's value (variables listed below)\n"
    103      "    startup       Set a command to be run at every Owl startup\n"
    104      "    unstartup     Remove a command to be run at every Owl startup\n"
     104     "    startup       Set a command to be run at every BarnOwl startup\n"
     105     "    unstartup     Remove a command to be run at every BarnOwl startup\n"
    105106     "\n"
    106107     "    getsubs       Print a list of current subscriptions\n"
     
    121122     "    dump          Dump messagelist as text to a file\n"
    122123     "\n"
    123      "    about         Print information about owl\n"
    124      "    status        Print status information about the running owl\n"
    125      "    version       Print the version number of owl\n"
     124     "    about         Print information about BarnOwl\n"
     125     "    status        Print status information about the running BarnOwl\n"
     126     "    version       Print the version number of BarnOwl\n"
    126127     "\n");
    127128 
     
    133134    varname = varnames->pdata[i];
    134135    if (varname && varname[0]!='_') {
    135       owl_variable_describe(owl_global_get_vardict(&g), varname, &fm);
     136      v = owl_variable_get_var(owl_global_get_vardict(&g), varname);
     137      owl_variable_describe(v, &fm);
    136138    }
    137139  }
Note: See TracChangeset for help on using the changeset viewer.