1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Added an 'exit' command to the CLI

This commit is contained in:
spl0k 2013-11-02 19:02:45 +01:00
parent dfc062180b
commit 78eac108a4

2
cli.py
View File

@ -53,6 +53,8 @@ class CLI(cmd.Cmd):
def do_EOF(self, line):
return True
do_exit = do_EOF
def default(self, line):
print 'Unknown command %s' % line.split()[0]
self.do_help(None)