From b78c2b464652e8f896f339dd6730fc278de2d619 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 15 Aug 2014 16:10:14 +0000 Subject: [PATCH] docstring update --- rsload.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rsload.go b/rsload.go index 8c7fe33..0efed32 100644 --- a/rsload.go +++ b/rsload.go @@ -149,6 +149,9 @@ func (c *chunk) send(w *bufio.Writer, responses chan maybe) *sendResult { return stats } +// sets up our input file for reading. If the --pipe option was specified, the +// input file is stdin. Otherwise, the input file is the first argument on the +// command line. func infile() *os.File { if options.pipe { return os.Stdin