1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk libT) #1777: Size column in transmission-remote

This commit is contained in:
Charles Kerr 2009-02-06 23:06:56 +00:00
parent e04fe5daaf
commit 6ebfd38630

View file

@ -1077,7 +1077,7 @@ printTorrentList( tr_benc * top )
&& ( tr_bencDictFindList( args, "torrents", &list ) ) )
{
int i, n;
printf( "%-4s %-4s %8s %-8s %6s %6s %-5s %-11s %s\n",
printf( "%-4s %-4s %9s %-8s %6s %6s %-5s %-11s %s\n",
"ID", "Done", "Have", "ETA", "Up", "Down", "Ratio", "Status",
"Name" );
for( i = 0, n = tr_bencListSize( list ); i < n; ++i )
@ -1109,7 +1109,7 @@ printTorrentList( tr_benc * top )
else
tr_snprintf( etaStr, sizeof( etaStr ), "Done" );
printf(
"%4d %3d%% %8s %-8s %6.1f %6.1f %5s %-11s %s\n",
"%4d %3d%% %9s %-8s %6.1f %6.1f %5s %-11s %s\n",
(int)id,
(int)( 100.0 * ( sizeWhenDone - leftUntilDone ) / sizeWhenDone ),
haveStr,