commands, instead of silently ignoring them. Reported by John
Darrington.
+Sun Oct 15 19:38:55 2006 Ben Pfaff <blp@gnu.org>
+
+ * command.c: (do_parse_command) Issue an error for unimplemented
+ commands, instead of silently ignoring them. Reported by John
+ Darrington.
+
Wed Jun 28 11:38:23 2006 Ben Pfaff <blp@gnu.org>
Don't offer both the full and abbreviated names for a single
command = parse_command_name ();
if (command == NULL)
return CMD_FAILURE;
- else if (command->function == NULL)
- return CMD_NOT_IMPLEMENTED;
+ else if (command->function == NULL)
+ {
+ msg (SE, _("%s is unimplemented."), command->name);
+ return CMD_NOT_IMPLEMENTED;
+ }
else if ((command->flags & F_TESTING) && !get_testing_mode ())
{
msg (SE, _("%s may be used only in testing mode."), command->name);