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:
parent
a629910046
commit
f7e138b6c1
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