mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[#2470] [Console] Fix console parsing args
This negates the need for quoting a single command with an arg e.g. deluge-console del --remove_data torrrent_file Multiple commands separated by semi-colon still require quoting.
This commit is contained in:
parent
56bbc90c5b
commit
a4fb8e769b
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class Console(_UI):
|
|||
group = optparse.OptionGroup(self.parser, "Console Commands",
|
||||
"\n".join(cmds.keys()))
|
||||
self.parser.add_option_group(group)
|
||||
self.parser.disable_interspersed_args()
|
||||
|
||||
def start(self):
|
||||
super(Console, self).start()
|
||||
|
|
Loading…
Add table
Reference in a new issue