commit 37d638a02c8b8ba653d9038ab56384ea16275e1c
parent 54a11058ee6b5d5ba17e35b8fa1801828b0c3cdf
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 3 Mar 2014 16:08:45 +0000
Slightly improving the formatting and wording of two man pages.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -7,6 +7,7 @@
* src/move.c (do_down) - Trim some redundant code, and correct
the scrolling behaviour when softwrap is off -- the construct
(amount ? amount : 1) wasn't doing what I intended.
+ * doc/man/nano{.1,rc.5} - Slightly improve formatting and wording.
2014-03-01 Chris Allegretta <chrisa@asty.org>
* global.c (shortcut_init) - fix an issue with the split
diff --git a/doc/man/nano.1 b/doc/man/nano.1
@@ -19,7 +19,7 @@
.\" <http://www.gnu.org/licenses/>.
.\"
.\" $Id$
-.TH NANO 1 "version 2.2.0" "November 30, 2009"
+.TH NANO 1 "version 2.3.3" "March 2014"
.\" Please adjust this date whenever revising the manpage.
.\"
@@ -28,7 +28,7 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone
.SH SYNOPSIS
.B nano
-.I [OPTIONS]\ [[\+LINE,COLUMN]\ FILE]...
+.RI [ options "] [[\+" line , column "]\ " file "]..."
.br
.SH DESCRIPTION
@@ -45,13 +45,13 @@ replace" and "go to line and column number".
.SH OPTIONS
.TP
-.B \+\fILINE\fP,\fICOLUMN\fP
-Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP
+.B \+\fIline\fP,\fIcolumn\fP
+Places the cursor on line number \fIline\fP and at column number \fIcolumn\fP
(at least one of which must be specified) on startup, instead of the
-default of line 1, column 1.
+default line 1, column 1.
.TP
.B \-?
-Same as \fB-h (\-\-help)\fP.
+Same as \fB\-h (\-\-help)\fP.
.TP
.B \-A (\-\-smarthome)
Make the Home key smarter. When Home is pressed anywhere but at the
@@ -129,7 +129,7 @@ Set the size (width) of a tab to \fIcols\fP columns. The value of
.TP
.B \-U (\-\-quickblank)
Do quick statusbar blanking. Statusbar messages will disappear after 1
-keystroke instead of 25. Note that \fB-c\fP overrides this.
+keystroke instead of 25. Note that \fB\-c\fP overrides this.
.TP
.B \-V (\-\-version)
Show the current version number and exit.
@@ -143,7 +143,7 @@ Specify a specific syntax highlighting from the \fInanorc\fP to use, if
available.
.TP
.B \-c (\-\-const)
-Constantly show the cursor position. Note that this overrides \fB-U\fP.
+Constantly show the cursor position. Note that this overrides \fB\-U\fP.
.TP
.B \-d (\-\-rebinddelete)
Interpret the Delete key differently so that both Backspace and Delete
@@ -151,7 +151,7 @@ work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
.B \-h (\-\-help)
-Show a summary of command line options and exit.
+Show a summary of the available command-line options and exit.
.TP
.B \-i (\-\-autoindent)
Indent new lines to the previous line's indentation. Useful when
@@ -180,7 +180,7 @@ Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught
by the terminal.
.TP
.B \-q (\-\-quiet)
-Do not report errors in the \fInanorc\fP file and ask them to be
+Do not report errors in the \fInanorc\fP file nor ask them to be
acknowledged by pressing Enter at startup.
.TP
.B \-r \fIcols\fP (\-\-fill=\fIcols\fP)
@@ -193,7 +193,7 @@ is resized. The default value is \-8.
Enable alternative spell checker command.
.TP
.B \-t (\-\-tempfile)
-Always save changed buffer without prompting. Same as Pico's \fB-t\fP
+Always save changed buffer without prompting. Same as Pico's \fB\-t\fP
option.
.TP
.B \-u (\-\-undo)
diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5
@@ -19,7 +19,7 @@
.\" <http://www.gnu.org/licenses/>.
.\"
.\" $Id$
-.TH NANORC 5 "version 2.3.2" "February 2014
+.TH NANORC 5 "version 2.3.3" "March 2014"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
@@ -246,14 +246,14 @@ special: it takes no \fIfileregex\fP, and applies to files that don't
match any other syntax's \fIfileregex\fP.
.TP
.B linter \fIprogram\fP [\fIargs\fP ... ]
-For the currently defined syntax, add the following command
-to invoke the linter (overrides the speller function when
-defined.
+For the currently defined syntax, use the given \fIprogram\fR
+to invoke the linter (this overrides the speller function when
+defined).
.TP
.B magic ["\fIregex\fP" ... ]
For the currently defined syntax, add one or more regexes which
will be compared against the \fBmagic\fP database when attempting
-to determine which highlighting rules to use for a given file. This
+to determine which highlighting rules to use for a given file. This
functionality only works when \fBlibmagic\fP is installed on the
system and will be silently ignored otherwise.
.TP