display the correct help message
This commit is contained in:
parent
521319a575
commit
7d03e1598f
10
src/help.c
10
src/help.c
@ -97,10 +97,12 @@ static char changeing_help_msg[] =
|
||||
"?\t\tDisplay this list of commands.\n";
|
||||
|
||||
const char *help(void) {
|
||||
if(input_mode == INPUT_CHANGE) {
|
||||
return help_msg;
|
||||
} else {
|
||||
return changeing_help_msg;
|
||||
switch (input_mode) {
|
||||
case INPUT_CHANGE:
|
||||
case INPUT_CHANGE_TO:
|
||||
return changeing_help_msg;
|
||||
default:
|
||||
return help_msg;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user