diff --git a/doc/nano.1 b/doc/nano.1 index 90cdd6ae63844a960efa0998e0b800d8f8c39228..ba983d62e3a301a09529e3dc4ce32dcd7d979ff8 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -36,8 +36,8 @@ When giving a filename on the command line, the cursor can be put on a specific line by adding the line number with a plus sign (\fB+\fR) before the filename, and even in a specific column by adding it with a comma. -If the first file specified is a dash (\fB\-\fR), \fBnano\fR will read -data from standard input. +As a special case: if instead of a filename a dash (\fB\-\fR) is given, +\fBnano\fR will read data from standard input. .SH EDITING Entering text and moving around in a file is straightforward: typing the diff --git a/doc/nano.texi b/doc/nano.texi index 7f5e0c63b991467f3b9134386e7d163b4c552d02..cfd6e841c24efff32d40de603bab0002a02c36c7 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -112,9 +112,9 @@ file (@pxref{Nanorc Files}). And when using @code{set positionlog} (making @code{nano} remember the cursor position when you close a file), you will rarely need to specify a line number. -As a special case: when the first file specified is a dash, @code{nano} -will read data from standard input. Which means you can pipe the output -of a command straight into a buffer. +As a special case: when instead of a filename a dash is given, @code{nano} +will read data from standard input. This means you can pipe the output of +a command straight into a buffer, and then edit it. @node Command-line Options @chapter Command-line Options