document that stdin must not be a tty to read from it

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew Gregory 2013-01-29 21:38:48 -05:00 committed by Allan McRae
parent 7956441350
commit ec339969d9
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ front ends to be written (for instance, a GUI front end).
Invoking pacman involves specifying an operation with any potential options and
targets to operate on. A 'target' is usually a package name, filename, URL, or
a search string. Targets can be provided as command line arguments.
Additionally, if a single dash (-) is passed as an argument, targets will be
read from stdin.
Additionally, if stdin is not from a terminal and a single dash (-) is passed
as an argument, targets will be read from stdin.
Operations