Opened 13 years ago

Closed 12 years ago

#1548 closed patch (Fixed)

Slightly change CLI argument processing

Reported by: mathbr Owned by: nick
Priority: trivial Milestone: 1.3.2
Component: Console UI Version:
Keywords: Cc:


Deluge-console accepts commands as CLI arguments. However commands with parameters do not work as expected:

$ deluge-console add <file> → Does not work

$ deluge-console "add <file>" → Works but is awkward and prevents quoting of <file> as well as shell autocompletion

This patch changes this to allow for the former style to work.

Attachments (1)

deluge-console-command-argument-processing.patch (497 bytes) - added by mathbr 13 years ago.
Slightly tweak command arguments processing

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by mathbr

Slightly tweak command arguments processing

comment:1 Changed 13 years ago by Cas

  • Priority changed from minor to trivial
  • Version 1.3.0_dev deleted

You should be still able to quote the file with the single quote '

Note that there are some big changes for the console currently under development by nick:

comment:2 Changed 13 years ago by al.cadd9

  • Owner set to nick
  • Status changed from new to assigned

comment:3 Changed 12 years ago by Cas

  • Milestone changed from Future to 1.3.2

comment:4 Changed 12 years ago by damoxc

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied in 93c4949.

Note: See TracTickets for help on using tickets.