Changeset 2862


Ignore:
Timestamp:
Aug 19, 2007, 2:02:10 AM (15 years ago)
Author:
charles
Message:

improve cli-driven torrent creation. (Danez, #309 & #310)

Location:
branches/0.8x/cli
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8x/cli/transmissioncli.1

    r1750 r2862  
    4040.Op Fl n
    4141.Ar torrent-file
     42.Nm
     43.Op Fl v Ar level
     44.Fl c Ar source-file
     45.Fl a Ar announce-url
     46.Op Fl p Ar 1
     47.Op Fl m Ar comment
     48.Ar output-file
    4249.Ek
    4350.Sh DESCRIPTION
     
    4956The options are as follows:
    5057.Bl -tag -width Ds
     58.lt Fl c, Fl -create-from Ar source-file
     59Create torrent from the specified source file.
     60.lt Fl a, Fl -announce Ar announce-url
     61Specifies the Announceurl the new torrent will use. Can only be
     62used in conjunction with -c or --create-from.
     63.lt Fl r, Fl -private
     64Sets the private flag for the new torrent. Can only be used in
     65conjunction with -c or --create-from.
     66.lt Fl m, Fl -comment Ar comment-text
     67This optional parameter adds a comment to the new torrent. Can only
     68be used in conjunction with -c or --create-from.
    5169.It Fl h, Fl -help
    5270Prints a short usage summary.
  • branches/0.8x/cli/transmissioncli.c

    r2664 r2862  
    158158        int ret;
    159159        tr_metainfo_builder_t* builder = tr_metaInfoBuilderCreate( h, sourceFile );
    160         tr_makeMetaInfo( builder, NULL, announce, comment, isPrivate );
     160        tr_makeMetaInfo( builder, torrentPath, announce, comment, isPrivate );
    161161        while( !builder->isDone ) {
    162162            wait_msecs( 1 );
Note: See TracChangeset for help on using the changeset viewer.