浏览代码

Correct list '%' sequences to match man page.

master
Marq Schneider 14 年前
父节点
当前提交
f366f8969c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      cli/list.c

+ 2
- 2
cli/list.c 查看文件

@@ -113,7 +113,7 @@ print_items(struct items* itms, char *format)
case 'D': printf("%lld", p->downloaded); break; case 'D': printf("%lld", p->downloaded); break;
case 'H': printf("%u", p->pieces_have); break; case 'H': printf("%u", p->pieces_have); break;
case 'P': printf("%u", p->peers); break; case 'P': printf("%u", p->peers); break;
case 'S': printf("%c", p->st); break;
case 'S': printf("%lld", p->csize); break;
case 'U': printf("%lld", p->uploaded); break; case 'U': printf("%lld", p->uploaded); break;
case 'T': printf("%u", p->torrent_pieces); break; case 'T': printf("%u", p->torrent_pieces); break;


@@ -124,7 +124,7 @@ print_items(struct items* itms, char *format)
case 'p': print_percent(p->cgot, p->csize); break; case 'p': print_percent(p->cgot, p->csize); break;
case 'r': print_ratio(p->totup, p->csize); break; case 'r': print_ratio(p->totup, p->csize); break;
case 's': print_size(p->csize); break; case 's': print_size(p->csize); break;
case 't': printf("%lld", p->csize); break;
case 't': printf("%c", p->st); break;
case 'u': printf("%lld", p->totup); break; case 'u': printf("%lld", p->totup); break;
case 'v': printf("%lld", p->rate_down); break; case 'v': printf("%lld", p->rate_down); break;




正在加载...
取消
保存