Opened 14 years ago

Closed 14 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:


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)

enable_exit_if_not_connected.patch (582 bytes) - added by cdep_illabout 14 years ago.
enable_exit_if_not_connected-complete.patch (793 bytes) - added by cdep_illabout 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by cdep_illabout

Changed 14 years ago by cdep_illabout

comment:1 Changed 14 years ago by andar

  • Milestone set to 1.2.0
  • Resolution set to fixed
  • Status changed from new to closed

This has been fixed in [6074]. I went with a slightly different approach.

Note: See TracTickets for help on using tickets.