Ignore:
Timestamp:
2018-12-11T11:39:31Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac2caecb
Parents:
25cfc3d
Message:

adding proper extended help message

File:
1 edited

Legend:

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

    r25cfc3d r3301452  
    5454void help_cmd_unalias(unsigned int level)
    5555{
    56         printf("`%s' removes an alias or all aliases with -a\n", cmdname);
    57         return;
     56        if (level == HELP_SHORT) {
     57                printf("`%s' removes an alias or all aliases with -a\n", cmdname);
     58        } else {
     59                help_cmd_unalias(HELP_SHORT);
     60                printf("Usage: `%s' [-a] name [name ...]'\n\n"
     61                    "If no parameters are given it will display this help message.\n"
     62                    "If the flag -a is given, all existing aliases will be removed.\n"
     63                    "If one or multiple parameters are given, then those aliases will be removed.\n",
     64                    cmdname);
     65        }
    5866}
    5967
Note: See TracChangeset for help on using the changeset viewer.