projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a33d88
)
hdt: Add "?" alias for help
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Mon, 30 Mar 2009 00:24:35 +0000
(17:24 -0700)
committer
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Mon, 30 Mar 2009 00:24:35 +0000
(17:24 -0700)
Impact: New alias
"?" is now mapped to help.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-cli.c
b/com32/hdt/hdt-cli.c
index
335eb88
..
70b202b
100644
(file)
--- a/
com32/hdt/hdt-cli.c
+++ b/
com32/hdt/hdt-cli.c
@@
-50,7
+50,7
@@
struct cli_mode_descr *list_modes[] = {
* strings first.
*/
char *exit_aliases[] = {"q", "quit"};
-char *help_aliases[] = {"h"};
+char *help_aliases[] = {"h"
, "?"
};
/* List of aliases */
struct cli_alias hdt_aliases[] = {
@@
-61,7
+61,7
@@
struct cli_alias hdt_aliases[] = {
},
{
.command = CLI_HELP,
- .nb_aliases =
1
,
+ .nb_aliases =
2
,
.aliases = help_aliases,
},
};