Called on an input line when the command prefix is not recognized. If this method is not overridden, it prints an error message and returns.
(self, line)
| 237 | return self.onecmd(self.lastcmd) |
| 238 | |
| 239 | def default(self, line): |
| 240 | """Called on an input line when the command prefix is not recognized. |
| 241 | |
| 242 | If this method is not overridden, it prints an error message and |
| 243 | returns. |
| 244 | |
| 245 | """ |
| 246 | self.stdout.write('*** Unknown syntax: %s\n'%line) |
| 247 | |
| 248 | def completedefault(self, *ignored): |
| 249 | """Method called to complete an input line when no command-specific |