Changeset 2863
- Timestamp:
- Aug 19, 2007, 2:02:38 AM (15 years ago)
- Location:
- trunk/cli
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/transmissioncli.1
r1750 r2863 40 40 .Op Fl n 41 41 .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 42 49 .Ek 43 50 .Sh DESCRIPTION … … 49 56 The options are as follows: 50 57 .Bl -tag -width Ds 58 .lt Fl c, Fl -create-from Ar source-file 59 Create torrent from the specified source file. 60 .lt Fl a, Fl -announce Ar announce-url 61 Specifies the Announceurl the new torrent will use. Can only be 62 used in conjunction with -c or --create-from. 63 .lt Fl r, Fl -private 64 Sets the private flag for the new torrent. Can only be used in 65 conjunction with -c or --create-from. 66 .lt Fl m, Fl -comment Ar comment-text 67 This optional parameter adds a comment to the new torrent. Can only 68 be used in conjunction with -c or --create-from. 51 69 .It Fl h, Fl -help 52 70 Prints a short usage summary. -
trunk/cli/transmissioncli.c
r2663 r2863 158 158 int ret; 159 159 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 ); 161 161 while( !builder->isDone ) { 162 162 wait_msecs( 1 );
Note: See TracChangeset
for help on using the changeset viewer.