[pacman-dev] [PATCH] document that stdin must not be a tty to read from it
Andrew Gregory
andrew.gregory.8 at gmail.com
Tue Jan 29 21:38:48 EST 2013
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
I think I'm alone in wanting to remove the isatty check, but we can at least
document it.
doc/pacman.8.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index de28b9c..358d506 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -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
--
1.8.1.2
More information about the pacman-dev
mailing list