diff options
author | Stefan Bucur <stefanb@zytor.com> | 2008-08-15 17:09:50 +0300 |
---|---|---|
committer | Stefan Bucur <stefan@stefan-ubumac.(none)> | 2009-03-15 10:12:28 +0200 |
commit | 74e828897d9e0acfddd4119c1d227f68ab706df2 (patch) | |
tree | 6c7d15d79b049b97578c55da0040ee606b901f0c | |
parent | 1f15cadad8948fe229abcc5e15850e08c4973a89 (diff) | |
download | syslinux-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.c | 2 |
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; |