Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

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

    r47b2d7e3 r1433ecda  
    7979        if (level == HELP_SHORT) {
    8080                printf(
    81                 "\n  %s [command] <extended>\n"
    82                 "  Use help [command] extended for detailed help on [command] "
    83                 ", even `help'\n\n", cmdname);
     81                    "\n  %s [command] <extended>\n"
     82                    "  Use help [command] extended for detailed help on [command] "
     83                    ", even `help'\n\n", cmdname);
    8484        } else {
    8585                printf(
    86                 "\n  `%s' - shows help for commands\n"
    87                 "  Examples:\n"
    88                 "   %s [command]           Show help for [command]\n"
    89                 "   %s [command] extended  Show extended help for [command]\n"
    90                 "\n  If no argument is given to %s, a list of commands are shown\n\n",
    91                 cmdname, cmdname, cmdname, cmdname);
     86                    "\n  `%s' - shows help for commands\n"
     87                    "  Examples:\n"
     88                    "   %s [command]           Show help for [command]\n"
     89                    "   %s [command] extended  Show extended help for [command]\n"
     90                    "\n  If no argument is given to %s, a list of commands are shown\n\n",
     91                    cmdname, cmdname, cmdname, cmdname);
    9292        }
    9393
     
    105105        /* First, show a list of built in commands that are available in this mode */
    106106        for (cmd = builtins; cmd->name != NULL; cmd++) {
    107                         if (is_builtin_alias(cmd->name))
    108                                 printf("   %-16s\tAlias for `%s'\n", cmd->name,
    109                                         alias_for_builtin(cmd->name));
    110                         else
    111                                 printf("   %-16s\t%s\n", cmd->name, cmd->desc);
     107                if (is_builtin_alias(cmd->name))
     108                        printf("   %-16s\tAlias for `%s'\n", cmd->name,
     109                            alias_for_builtin(cmd->name));
     110                else
     111                        printf("   %-16s\t%s\n", cmd->name, cmd->desc);
    112112        }
    113113
    114114        /* Now, show a list of module commands that are available in this mode */
    115115        for (mod = modules; mod->name != NULL; mod++) {
    116                         if (is_module_alias(mod->name))
    117                                 printf("   %-16s\tAlias for `%s'\n", mod->name,
    118                                         alias_for_module(mod->name));
    119                         else
    120                                 printf("   %-16s\t%s\n", mod->name, mod->desc);
     116                if (is_module_alias(mod->name))
     117                        printf("   %-16s\tAlias for `%s'\n", mod->name,
     118                            alias_for_module(mod->name));
     119                else
     120                        printf("   %-16s\t%s\n", mod->name, mod->desc);
    121121        }
    122122
    123123        printf("\n  Try %s %s for more information on how `%s' works.\n\n",
    124                 cmdname, cmdname, cmdname);
     124            cmdname, cmdname, cmdname);
    125125}
    126126
Note: See TracChangeset for help on using the changeset viewer.