aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Bucur <stefanb@zytor.com>2008-08-15 17:09:50 +0300
committerStefan Bucur <stefan@stefan-ubumac.(none)>2009-03-15 10:12:28 +0200
commit74e828897d9e0acfddd4119c1d227f68ab706df2 (patch)
tree6c7d15d79b049b97578c55da0040ee606b901f0c
parent1f15cadad8948fe229abcc5e15850e08c4973a89 (diff)
downloadsyslinux-elf-74e828897d9e0acfddd4119c1d227f68ab706df2.tar.gz
syslinux-elf-74e828897d9e0acfddd4119c1d227f68ab706df2.tar.xz
syslinux-elf-74e828897d9e0acfddd4119c1d227f68ab706df2.zip
Made a message appear for invalid commands in CLI.
-rw-r--r--com32/elflink/test_com32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/elflink/test_com32.c b/com32/elflink/test_com32.c
index ea2a9581..c78962c4 100644
--- a/com32/elflink/test_com32.c
+++ b/com32/elflink/test_com32.c
@@ -109,6 +109,8 @@ int process_command(char *cmd) {
process_library(0);
} else if (strcmp(cmd_name, "list") == 0) {
+ } else {
+ printf("Unknown command. Type 'help' for a list of valid commands.\n");
}
return 0;