Opened 12 years ago

Closed 12 years ago

#2836 closed Bug (fixed)

transmissioncli --help shows incorrect usage syntax

Reported by: andrew.46 Owned by: charles
Priority: Normal Milestone: 1.90
Component: CLI Version: 1.83
Severity: Trivial Keywords:
Cc:

Description

Hi,

Using transmissioncli under version 1.83 the usage:

transmissioncli --help

gives incorrect instructions for usage:

Usage: transmission-cli [options] <file|url|magnet>

The following patch makes the very small change to correct this oversight:

+------------------

diff -Naur transmission-1.83_orig/cli/cli.c transmission-1.83/cli/cli.c --- transmission-1.83_orig/cli/cli.c 2010-01-29 12:02:16.000000000 +1100 +++ transmission-1.83/cli/cli.c 2010-01-30 09:30:10.000000000 +1100 @@ -37,7 +37,7 @@

#include <libtransmission/web.h> /* tr_webRun */

#define LINEWIDTH 80

-#define MY_NAME "transmission-cli" +#define MY_NAME "transmissioncli"

static tr_bool showInfo = 0; static tr_bool showScrape = 0;

+----------------

Andrew Strong

Attachments (1)

cli.diff (454 bytes) - added by andrew.46 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by andrew.46

comment:1 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.90
  • Owner set to charles
  • Severity changed from Normal to Trivial
  • Status changed from new to assigned

comment:2 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in trunk for 1.90 by r10048

added backport-1.8x tag for possible inclusion if/when we make another 1.8x release

Note: See TracTickets for help on using tickets.