1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-15 06:32:16 +00:00

Added an 'exit' command to the CLI

This commit is contained in:
spl0k 2013-11-02 19:02:45 +01:00 committed by Emory P
parent a629910046
commit f7e138b6c1

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)