Ticket #1548 (closed patch: fixed)

Opened 2 years ago

Last modified 2 years ago

Slightly change CLI argument processing

Reported by: mathbr Owned by: nick
Priority: trivial Milestone: 1.3.2
Component: console 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

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

Change History

Changed 2 years ago by mathbr

Slightly tweak command arguments processing

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

Changed 2 years ago by al.cadd9

  • status changed from new to assigned
  • owner set to nick

Changed 2 years ago by Cas

  • milestone changed from Future to 1.3.2

Changed 2 years ago by damoxc

  • status changed from assigned to closed
  • resolution set to fixed

Applied in 93c4949.

Note: See TracTickets for help on using tickets.