Fix for GitLab issue #37: prompt incorrectly handled.

This commit is contained in:
Eric S. Raymond 2018-11-14 13:01:39 -05:00
parent 876fbb2f78
commit a4c87aa0b3
4 changed files with 50 additions and 28 deletions

View file

@ -1584,7 +1584,7 @@ int action(command_t command)
case unknown:
/* Unknown verb, couldn't deduce object - might need hint */
sspeak(WHAT_DO, command.word[0].raw);
return GO_CLEAROBJ;
return GO_CHECKHINT;
default: // LCOV_EXCL_LINE
BUG(SPEECHPART_NOT_TRANSITIVE_OR_INTRANSITIVE_OR_UNKNOWN); // LCOV_EXCL_LINE
}