#2882 closed Bug (fixed)
transmission-remote's man-page not honest about -t option
Reported by: | geirha | Owned by: | charles |
---|---|---|---|
Priority: | Lowest | Milestone: | 1.90 |
Component: | Daemon | Version: | 1.83 |
Severity: | Normal | Keywords: | |
Cc: |
Description
transmission-remote's man-page currently states that you can select more than one torrent by providing a comma-separated list of torrent-hashes. This doesn't work as described. transmission-remote -t hash1,hash2 will just send "ids":"hash1,hash2" instead of "ids":["hash1","hash2"].
I've tried looking at the source to see how that parsing is handled, and it appears it currently has no functions to parse string of hashes into a list of strings, only string of ids into list of ints.
Either that functionality should be added, or the man-page should be changed. I'm attaching a small patch for the man-page. It also fixes one of the examples which I happened to spot while editing it.
Attachments (1)
Change History (4)
Changed 12 years ago by geirha
comment:1 Changed 12 years ago by charles
- Milestone changed from None Set to 1.90
- Owner set to charles
- Status changed from new to assigned
comment:2 Changed 12 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 12 years ago by charles
- Component changed from Transmission to Daemon
patch applied to trunk for 1.90 by r10148