Changes in uspace/app/bdsh/cmds/modules/help/help.c [136ce60:25c1b2c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/help/help.c
r136ce60 r25c1b2c 98 98 builtin_t *cmd; 99 99 module_t *mod; 100 unsigned int i; 100 101 101 102 printf("\n Bdsh built-in commands:\n"); … … 103 104 104 105 /* 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++) { 106 107 if (is_builtin_alias(cmd->name)) 107 108 printf(" %-16s\tAlias for `%s'\n", cmd->name, … … 111 112 } 112 113 114 i = 0; 115 113 116 /* 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++) { 115 118 if (is_module_alias(mod->name)) 116 119 printf(" %-16s\tAlias for `%s'\n", mod->name,
Note:
See TracChangeset
for help on using the changeset viewer.