Changeset d752cf4 in mainline for uspace/app/bdsh/cmds/modules/help/help.c
- Timestamp:
- 2009-01-22T07:13:13Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 491af07
- Parents:
- 48c3d50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/help/help.c
r48c3d50 rd752cf4 134 134 /* First, show a list of built in commands that are available in this mode */ 135 135 for (cmd = builtins; cmd->name != NULL; cmd++, i++) { 136 if (!builtin_is_restricted(i)) {137 136 if (is_builtin_alias(cmd->name)) 138 137 printf(" %-16s\tAlias for `%s'\n", cmd->name, … … 140 139 else 141 140 printf(" %-16s\t%s\n", cmd->name, cmd->desc); 142 }143 141 } 144 142 … … 147 145 /* Now, show a list of module commands that are available in this mode */ 148 146 for (mod = modules; mod->name != NULL; mod++, i++) { 149 if (!module_is_restricted(i)) {150 147 if (is_module_alias(mod->name)) 151 148 printf(" %-16s\tAlias for `%s'\n", mod->name, … … 153 150 else 154 151 printf(" %-16s\t%s\n", mod->name, mod->desc); 155 }156 152 } 157 153
Note:
See TracChangeset
for help on using the changeset viewer.