Opened 14 years ago

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

Description

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 14 years ago.
Slightly tweak command arguments processing

Download all attachments as: .zip

Change History (5)

by mathbr, 14 years ago

Slightly tweak command arguments processing

comment:1 by Calum, 14 years ago

Priority: minortrivial
Version: 1.3.0_dev

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: https://github.com/nicklan/newconsoleui

comment:2 by al.cadd9, 14 years ago

Owner: set to nick
Status: newassigned

comment:3 by Calum, 14 years ago

Milestone: Future1.3.2

comment:4 by Damien Churchill, 14 years ago

Resolution: fixed
Status: assignedclosed

Applied in 93c4949.

Note: See TracTickets for help on using tickets.