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)
| 227 | return self.onecmd(self.lastcmd) |
| 228 | |
| 229 | def default(self, line): |
| 230 | """Called on an input line when the command prefix is not recognized. |
| 231 | |
| 232 | If this method is not overridden, it prints an error message and |
| 233 | returns. |
| 234 | |
| 235 | """ |
| 236 | self.stdout.write('*** Unknown syntax: %s\n'%line) |
| 237 | |
| 238 | def completedefault(self, *ignored): |
| 239 | """Method called to complete an input line when no command-specific |