On Windows attempting to use deluge-console to remove a torrent and its data. The command I'm using is: deluge-console --remove_data del pmp-00402.iso
I get the following error message: deluge-console: error: no such option: --remove_data
Otherwise, the command works as expected if I don't use the --remove_data option. Anyone have a clue as to what I'm doing wrong. Is the option really something other than what is specified in the command usage text?
deluge-console --remove_data no such option
deluge-console --remove_data no such option
Last edited by roadcawe on Mon Jul 28, 2014 2:57 pm, edited 1 time in total.
Re: deluge-console --remove_data no such option
'--remove-data' is for the 'del' command...
Re: deluge-console --remove_data no such option
Yes. That is what I'm trying to do. The command is: deluge-console --remove_data del pmp-00402.iso
which fails with the "no such option" error.
which fails with the "no such option" error.
Re: deluge-console --remove_data no such option
'--remove-data' is for the 'del' command...
I.e it is not for the deluge-console command and thus deluge-console complains it is not an option!
Code: Select all
deluge-console 'del --remove_data pmp-00402.iso'
Re: deluge-console --remove_data no such option
Here is what `deluge-console` says it supposed to understand.
Here's what I get when I try it in various ways:
Code: Select all
C:\Program Files (x86)\Deluge>deluge-console help del
Usage: rm <torrent-id>
Options:
--remove_data remove the torrent's data
-h, --help show this help message and exit
Remove a torrent
Code: Select all
c:\LabSeeder>deluge-console del --remove_data pmp-00402.iso
Usage: deluge-console [options] [actions]
deluge-console: error: no such option: --remove_data
c:\LabSeeder>deluge-console --remove_data del pmp-00402.iso
Usage: deluge-console [options] [actions]
deluge-console: error: no such option: --remove_data
c:\LabSeeder>deluge-console del pmp-00402.iso --remove_data
Usage: deluge-console [options] [actions]
deluge-console: error: no such option: --remove_data
Re: deluge-console --remove_data no such option
The quotes are not optional...
Re: deluge-console --remove_data no such option
Success! It seems that it only likes double-quotes, At least that's the case on Windows. I haven't tried it on Linux.
Thanks for hanging in there with me and helping.
Code: Select all
c:\LabSeeder>deluge-console 'del --remove_data pmp-00402.iso'
Usage: deluge-console [options] [actions]
deluge-console: error: no such option: --remove_data
c:\LabSeeder>deluge-console "del --remove_data pmp-00402.iso"
c:\LabSeeder>
Re: deluge-console --remove_data no such option
Yer I should have used double-quotes as it's most reliable
Just for reference, there is a ticket that should do away with the need for quotes: http://dev.deluge-torrent.org/ticket/2470
Just for reference, there is a ticket that should do away with the need for quotes: http://dev.deluge-torrent.org/ticket/2470