summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorOleg Finkelshteyn <olegfink@gmail.com>2009-08-27 00:11:41 +0200
committerDan McGee <dan@archlinux.org>2009-09-06 23:50:20 +0200
commit5dbd00faf7a27866ffc2a7197c5cc704425a7af8 (patch)
treec81d682cf42f40493646b72326d809c388bfdffb /lib/libalpm/sync.c
parentc88ac86292a9cd9b87ab9ebf203b9eca75af1f28 (diff)
downloadpacman-5dbd00faf7a27866ffc2a7197c5cc704425a7af8.tar.gz
pacman-5dbd00faf7a27866ffc2a7197c5cc704425a7af8.tar.xz
Don't wrap lines when we don't have a column size
For example when we are not in a tty, there is no point in wrapping the output. This actually makes the job harder for scripts. $ pacman -Si binutils | grep Desc Description : A set of programs to assemble and manipulate binary and The description was cut because the rest was on the following line. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> [Dan: use printf everywhere] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions