Opened 15 years ago
Closed 15 years ago
#1116 closed bug (Fixed)
[PATCH] enable 'exit' command even if not connected to daemon
Reported by: | cdep_illabout | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.0 |
Component: | Console UI | Version: | 1.3.0_dev |
Keywords: | exit, quit, console, not connected | Cc: |
Description
If you run deluge-console and you are not connected to the daemon, you can't use the "exit" command because it is an alias of the "quit" command.
I have attached two different patches that take care of this in different ways.
"enable_exit_if_not_connected.patch" just adds "exit" to the list of commands that can be run even if you are not connected.
"enable_exit_if_not_connected-complete.patch" checks "help", "connect", and "quit" for aliases, and allows the aliases to be run as well. (The coding style for this addition may be a little weird, so you may have to change it a little bit.)
Attachments (2)
Change History (3)
by , 15 years ago
Attachment: | enable_exit_if_not_connected.patch added |
---|
by , 15 years ago
Attachment: | enable_exit_if_not_connected-complete.patch added |
---|
comment:1 by , 15 years ago
Milestone: | → 1.2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This has been fixed in [6074]. I went with a slightly different approach.