Subversion Repositories HelenOS

Rev

Rev 3376 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3376 Rev 3413
Line 67... Line 67...
67
    }
67
    }
68
 
68
 
69
    return HELP_IS_RUBBISH;
69
    return HELP_IS_RUBBISH;
70
}
70
}
71
 
71
 
72
void *help_cmd_help(unsigned int level)
72
void help_cmd_help(unsigned int level)
73
{
73
{
74
    if (level == HELP_SHORT) {
74
    if (level == HELP_SHORT) {
75
        printf(
75
        printf(
76
        "\n  %s [command] <extended>\n"
76
        "\n  %s [command] <extended>\n"
77
        "  Use help [command] extended for detailed help on [command] "
77
        "  Use help [command] extended for detailed help on [command] "
Line 84... Line 84...
84
        "   %s [command] extended  Show extended help for [command]\n"
84
        "   %s [command] extended  Show extended help for [command]\n"
85
        "\n  If no argument is given to %s, a list of commands are shown\n\n",
85
        "\n  If no argument is given to %s, a list of commands are shown\n\n",
86
        cmdname, cmdname, cmdname, cmdname);
86
        cmdname, cmdname, cmdname, cmdname);
87
    }
87
    }
88
 
88
 
89
    return CMD_VOID;
89
    return;
90
}
90
}
91
 
91
 
92
int *cmd_help(char *argv[])
92
int cmd_help(char *argv[])
93
{
93
{
94
    module_t *mod;
94
    module_t *mod;
95
    builtin_t *cmd;
95
    builtin_t *cmd;
96
    unsigned int i = 0;
96
    unsigned int i = 0;
97
    int rc = 0;
97
    int rc = 0;