mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Added an 'exit' command to the CLI
This commit is contained in:
parent
dfc062180b
commit
78eac108a4
2
cli.py
2
cli.py
@ -53,6 +53,8 @@ class CLI(cmd.Cmd):
|
|||||||
def do_EOF(self, line):
|
def do_EOF(self, line):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
do_exit = do_EOF
|
||||||
|
|
||||||
def default(self, line):
|
def default(self, line):
|
||||||
print 'Unknown command %s' % line.split()[0]
|
print 'Unknown command %s' % line.split()[0]
|
||||||
self.do_help(None)
|
self.do_help(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user