Opened 14 years ago

Closed 14 years ago

#525 closed Bug (invalid)

option -s not mentioned in transmission-cli --help

Reported by: pbenner Owned by:
Priority: Lowest Milestone: None Set
Component: CLI Version: 0.95
Severity: Trivial Keywords:
Cc:

Description

The manual mentions an option '-s, --scrape' which is not listed when executing transmission-cli --help:

Transmission 0.95 (4068) - http://transmission.m0k.org/

Usage: transmission-cli [options] file.torrent [options]

Options:
  -c, --create-from <file>  Create torrent from the specified source file.
  -a, --announce <url> Used in conjunction with -c.
  -r, --private        Used in conjunction with -c.
  -m, --comment <text> Adds an optional comment when creating a torrent.
  -d, --download <int> Maximum download rate (-1 = no limit, default = -1)
  -f, --finish <shell script> Command you wish to run on completion
  -h, --help           Print this help and exit
  -i, --info           Print metainfo and exit
  -n  --nat-traversal  Attempt NAT traversal using NAT-PMP or UPnP IGD
  -p, --port <int>     Port we should listen on (default = 51413)
  -u, --upload <int>   Maximum upload rate (-1 = no limit, default = 20)
  -v, --verbose <int>  Verbose level (0 to 2, default = 0)

Change History (4)

comment:1 follow-up: Changed 14 years ago by tiennou

  • Resolution set to worksforme
  • Status changed from new to closed

I'm sorry I sse it in both trunk (http://transmission.m0k.org/trac/browser/trunk/cli/transmissioncli.1) and the 0.9x branch (http://transmission.m0k.org/trac/browser/branches/0.9x/cli/transmissioncli.1). Maybe you have another older manpage installed ?

comment:2 in reply to: ↑ 1 Changed 14 years ago by mezz

  • Resolution worksforme deleted
  • Status changed from closed to reopened

tiennou, he means for manpage isn't matching with 'transmission-cli --help'. In the 0.9x branch, the manapge shows that it has -s option but not in 'transmission-cli --help'. In the 0.9x branch has:

const char * USAGE =
"Usage: %s [options] file.torrent [options]\n\n"
"Options:\n"
"  -c, --create-from <file>  Create torrent from the specified source file.\n"
[...]
#if 0
"  -s, --scrape         Print counts of seeders/leechers and exit\n"
#endif
[...]
"  -u, --upload <int>   Maximum upload rate (-1 = no limit, default = 20)\n"
"  -v, --verbose <int>  Verbose level (0 to 2, default = 0)\n";

It is disabled in 0.9x branch. I am reopening this ticket as this bug is true.

comment:3 Changed 14 years ago by tiennou

You'll need to apply the patch at #461... I'm wondering why it doesn't appear in the 0.9x branch, but you can apply it there (It'll report an error on transmission.h because part of the patch was applied there, you can ignore it)

comment:4 Changed 14 years ago by charles

  • Resolution set to invalid
  • Status changed from reopened to closed

This ticket is moot since it only affects the 0.9x branch, which is dead.

Note: See TracTickets for help on using tickets.