diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-06-02 23:45:05 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-06 13:47:32 +1000 |
commit | ab3d8478c23dd3f256da89c2a2a27f8a7f3d3893 (patch) | |
tree | 1a857dee80c7d50029eec41acf2a8d8fe92bfe74 /lib/libalpm/backup.c | |
parent | 9574bfd6c873d70e29a5003461b2d691f134c8ab (diff) | |
download | pacman-ab3d8478c23dd3f256da89c2a2a27f8a7f3d3893.tar.xz |
die if '-' is given with empty stdin
Several operations default to all packages/repos/etc if no targets are
provided. If a user provides '-' they almost certainly expect there to
be targets on stdin and will be surprised if pacman falls back to the
default because there are none.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/backup.c')
0 files changed, 0 insertions, 0 deletions