nicer output
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 8 Jan 2012 12:35:25 +0000 (13:35 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 8 Jan 2012 12:35:25 +0000 (13:35 +0100)
torrent/rtorrent-dump.pl

index ff1a071..f530454 100755 (executable)
@@ -8,9 +8,9 @@ use Data::Dump qw(dump);
 my $h = new RTPG(url=> $ENV{SOCKET} || '/rsync1/s1/torrent/socket');
 
 if ( @ARGV ) {
-       print "# ",dump(@ARGV);
+       print "# ",dump(@ARGV), " -> ";
        my $out = $h->rpc_command(@ARGV);
-       print dump($out);
+       print dump($out),$/;
        exit;
 }