Opened 3 years ago

Last modified 3 years ago

#6146 new Bug

Fix log and utp options in man page's synopsis for transmission-daemon

Reported by: mfg22 Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.92
Severity: Normal Keywords:
Cc:

Description

Synopsis for a transmission-daemon man page contains the following string referring to log message options:

"[-log-error | -log-info | -log-debug]"

This string should be changed to

"[--log-error | --log-info | --log-debug]"

(note double dashes instead of single ones).

When single dash is used, the option has quite a surprising effect - transmission thinks that '-l 0' option was passed instead, and as the result changes peer-limit-per-torrent to 0 and writes it out to settings.json).

Other long options mentioned in the synopsis (-utp/-no-utp) probably also have to be fixed in a similar way.

Change History (3)

comment:1 follow-up: Changed 3 years ago by Robby

  • Summary changed from Fix long options in man page's synopsis for transmission-daemon to Fix log options in man page's synopsis for transmission-daemon

Typo, right?

comment:2 in reply to: ↑ 1 Changed 3 years ago by x190

Replying to Robby:

Typo, right?

Actually, he did mean 'long' as in 'long form' - includes that '-utp/-no-utp' bit as well.

transmission-daemon [-a x.x.x.x,...] [-b | -B] [-c directory] [-C] [-d]
                         [-f] [-g directory] [-h] [-p port] [-t | -T]
                         [-u username] [-v password] [-P port] [-m | -M]
                         [-l limit] [-L limit] [-er | -ep | -et]
                         [-utp | -no-utp] [-V] [-w download-dir] [-e logfile]
                         [-log-error | -log-info | -log-debug]

comment:3 Changed 3 years ago by x190

  • Summary changed from Fix log options in man page's synopsis for transmission-daemon to Fix log and utp options in man page's synopsis for transmission-daemon
Note: See TracTickets for help on using tickets.