add various option description fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3683 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
899d0360ec
commit
74d8ebc041
|
@ -1,4 +1,10 @@
|
||||||
CVS code -
|
CVS code -
|
||||||
|
- General:
|
||||||
|
- Fix option descriptions. At least one of the two parts of
|
||||||
|
+LINE,COLUMN must be specified at all times; COLUMN is not the
|
||||||
|
only optional value. Also fix a wording problem in
|
||||||
|
-W/--wordbounds. Changes to usage(), nano.1, nanorc.5,
|
||||||
|
rnano.1, nano.texi, and nanorc.sample.in. (DLR)
|
||||||
|
|
||||||
GNU nano 1.3.12 - 2006.06.26
|
GNU nano 1.3.12 - 2006.06.26
|
||||||
- General:
|
- General:
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
.\" warranty.
|
.\" warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANO 1 "version 1.3.12" "June 7, 2006"
|
.TH NANO 1 "version 1.9.99pre1" "June 26, 2006"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B nano
|
.B nano
|
||||||
.I [OPTIONS]\ [[\+LINE[,COLUMN]]\ FILE]...
|
.I [OPTIONS]\ [[\+LINE,COLUMN]\ FILE]...
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -33,9 +33,10 @@ replace" and "go to line number".
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \+\fILINE\fP[,\fICOLUMN\fP]
|
.B \+\fILINE\fP,\fICOLUMN\fP
|
||||||
Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP
|
Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP
|
||||||
on startup, instead of the default of line 1, column 1.
|
(at least one of which must be specified) on startup, instead of the
|
||||||
|
default of line 1, column 1.
|
||||||
.TP
|
.TP
|
||||||
.B \-?
|
.B \-?
|
||||||
Same as \fB-h (\-\-help)\fP.
|
Same as \fB-h (\-\-help)\fP.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
.\" warranty.
|
.\" warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANORC 5 "version 1.3.12" "May 24, 2006"
|
.TH NANORC 5 "version 1.9.99pre1" "June 26, 2006"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -194,7 +194,7 @@ spaces. They must be single-column characters.
|
||||||
.TP
|
.TP
|
||||||
.B set/unset wordbounds
|
.B set/unset wordbounds
|
||||||
Detect word boundaries more accurately by treating punctuation
|
Detect word boundaries more accurately by treating punctuation
|
||||||
characters as part of a word.
|
characters as parts of words.
|
||||||
.TP
|
.TP
|
||||||
.B syntax "\fIstr\fP" ["\fIfileregex\fP" ... ]
|
.B syntax "\fIstr\fP" ["\fIfileregex\fP" ... ]
|
||||||
Defines a syntax named \fIstr\fP which can be activated via the
|
Defines a syntax named \fIstr\fP which can be activated via the
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.\" warranty.
|
.\" warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH RNANO 1 "version 1.3.12" "May 1, 2006"
|
.TH RNANO 1 "version 1.9.99pre1" "June 26, 2006"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -17,7 +17,7 @@ Pico clone
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B rnano
|
.B rnano
|
||||||
.I [OPTIONS]\ [[\+LINE[,COLUMN]]\ FILE]...
|
.I [OPTIONS]\ [[\+LINE,COLUMN]\ FILE]...
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -51,9 +51,10 @@ use backup files or spell checking.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \+\fILINE\fP[,\fICOLUMN\fP]
|
.B \+\fILINE\fP,\fICOLUMN\fP
|
||||||
Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP
|
Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP
|
||||||
on startup, instead of the default of line 1, column 1.
|
(at least one of which must be specified) on startup, instead of the
|
||||||
|
default of line 1, column 1.
|
||||||
.TP
|
.TP
|
||||||
.B \-?
|
.B \-?
|
||||||
Same as \fB-h (\-\-help)\fP.
|
Same as \fB-h (\-\-help)\fP.
|
||||||
|
|
|
@ -167,7 +167,7 @@
|
||||||
# set whitespace " "
|
# set whitespace " "
|
||||||
|
|
||||||
## Detect word boundaries more accurately by treating punctuation
|
## Detect word boundaries more accurately by treating punctuation
|
||||||
## characters as part of a word.
|
## characters as parts of words.
|
||||||
# set wordbounds
|
# set wordbounds
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
@c Run 'makeinfo' rather than 'texinfo-format-buffer'.
|
@c Run 'makeinfo' rather than 'texinfo-format-buffer'.
|
||||||
@smallbook
|
@smallbook
|
||||||
@set EDITION 0.1
|
@set EDITION 0.1
|
||||||
@set VERSION 1.3.12
|
@set VERSION 1.9.99pre1
|
||||||
@set UPDATED 20 Jun 2006
|
@set UPDATED 26 Jun 2006
|
||||||
|
|
||||||
@dircategory Editors
|
@dircategory Editors
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
@titlepage
|
@titlepage
|
||||||
@title GNU @code{nano}
|
@title GNU @code{nano}
|
||||||
@subtitle a small and friendly text editor.
|
@subtitle a small and friendly text editor.
|
||||||
@subtitle version 1.3.12
|
@subtitle version 1.9.99pre1
|
||||||
|
|
||||||
@author Chris Allegretta
|
@author Chris Allegretta
|
||||||
@page
|
@page
|
||||||
|
@ -94,6 +94,8 @@ adding it with a comma. So the complete synopsis is:
|
||||||
@quotation
|
@quotation
|
||||||
@code{nano [OPTION]@dots{} [[+LINE] FILE]@dots{}}
|
@code{nano [OPTION]@dots{} [[+LINE] FILE]@dots{}}
|
||||||
|
|
||||||
|
@code{nano [OPTION]@dots{} [[+,COLUMN] FILE]@dots{}}
|
||||||
|
|
||||||
@code{nano [OPTION]@dots{} [[+LINE,COLUMN] FILE]@dots{}}
|
@code{nano [OPTION]@dots{} [[+LINE,COLUMN] FILE]@dots{}}
|
||||||
@end quotation
|
@end quotation
|
||||||
|
|
||||||
|
@ -105,9 +107,9 @@ Email bug reports to @email{nano@@nano-editor.org}.
|
||||||
@code{nano} takes the following options from the command line:
|
@code{nano} takes the following options from the command line:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item +LINE[,COLUMN]
|
@item +LINE,COLUMN
|
||||||
Start at line number LINE and column number COLUMN instead of the
|
Start at line number LINE and column number COLUMN (at least one of
|
||||||
default of line 1, column 1.
|
which must be specified) instead of the default of line 1, column 1.
|
||||||
|
|
||||||
@item -?
|
@item -?
|
||||||
Same as @code{-h, --help}.
|
Same as @code{-h, --help}.
|
||||||
|
@ -189,7 +191,7 @@ Show the current version number and exit.
|
||||||
|
|
||||||
@item -W, --wordbounds
|
@item -W, --wordbounds
|
||||||
Detect word boundaries more accurately by treating punctuation
|
Detect word boundaries more accurately by treating punctuation
|
||||||
characters as part of a word.
|
characters as parts of words.
|
||||||
|
|
||||||
@item -Y <str>, --syntax=<str>
|
@item -Y <str>, --syntax=<str>
|
||||||
Specify a specific syntax highlighting from the nanorc to use, if
|
Specify a specific syntax highlighting from the nanorc to use, if
|
||||||
|
|
|
@ -724,7 +724,7 @@ void print_opt_full(const char *shortflag
|
||||||
/* Explain how to properly use nano and its command line options. */
|
/* Explain how to properly use nano and its command line options. */
|
||||||
void usage(void)
|
void usage(void)
|
||||||
{
|
{
|
||||||
printf(_("Usage: nano [OPTIONS] [[+LINE[,COLUMN]] FILE]...\n\n"));
|
printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n"));
|
||||||
printf(
|
printf(
|
||||||
#ifdef HAVE_GETOPT_LONG
|
#ifdef HAVE_GETOPT_LONG
|
||||||
_("Option\t\tGNU long option\t\tMeaning\n")
|
_("Option\t\tGNU long option\t\tMeaning\n")
|
||||||
|
@ -733,7 +733,7 @@ void usage(void)
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
print_opt("-h, -?", "--help", N_("Show this message"));
|
print_opt("-h, -?", "--help", N_("Show this message"));
|
||||||
print_opt(_("+LINE[,COLUMN]"), "",
|
print_opt(_("+LINE,COLUMN"), "",
|
||||||
N_("Start at line LINE, column COLUMN"));
|
N_("Start at line LINE, column COLUMN"));
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
print_opt("-A", "--smarthome", N_("Enable smart home key"));
|
print_opt("-A", "--smarthome", N_("Enable smart home key"));
|
||||||
|
|
Loading…
Reference in New Issue