Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/help/help.c

    r136ce60 r25c1b2c  
    9898        builtin_t *cmd;
    9999        module_t *mod;
     100        unsigned int i;
    100101
    101102        printf("\n  Bdsh built-in commands:\n");
     
    103104
    104105        /* First, show a list of built in commands that are available in this mode */
    105         for (cmd = builtins; cmd->name != NULL; cmd++) {
     106        for (cmd = builtins; cmd->name != NULL; cmd++, i++) {
    106107                        if (is_builtin_alias(cmd->name))
    107108                                printf("   %-16s\tAlias for `%s'\n", cmd->name,
     
    111112        }
    112113
     114        i = 0;
     115
    113116        /* Now, show a list of module commands that are available in this mode */
    114         for (mod = modules; mod->name != NULL; mod++) {
     117        for (mod = modules; mod->name != NULL; mod++, i++) {
    115118                        if (is_module_alias(mod->name))
    116119                                printf("   %-16s\tAlias for `%s'\n", mod->name,
Note: See TracChangeset for help on using the changeset viewer.