mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-16 21:34:26 +03:00
docs: in a synopsis, use braces around a choice of required parts
This seems to be the convention. For an example, see `man tar`. This addresses https://savannah.gnu.org/bugs/?64125. Reported-by: Eric S. Raymond <esr@thyrsus.com>
This commit is contained in:
parent
69a7dd86ec
commit
2c19345e58
@ -28,7 +28,7 @@ nano \- Nano's ANOther editor, inspired by Pico
|
||||
.B nano
|
||||
.RI [ options "] [" file [\fB: line [\fB: column "]]]..."
|
||||
.sp
|
||||
.BR nano " [" \fIoptions "] [[" + [ crCR ]( / | ? ) \fIstring "] " \fIfile ]...
|
||||
.BR nano " [" \fIoptions "] [[" + [ crCR ]{ / | ? } \fIstring "] " \fIfile ]...
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBnano\fP is a small and friendly editor. It copies the look and feel
|
||||
|
@ -163,7 +163,7 @@ A more complete command synopsis thus is:
|
||||
|
||||
@blankline
|
||||
@example
|
||||
@code{nano [OPTION]@dots{} [[+LINE[,COLUMN]|+[crCR](/|?)STRING] FILE]@dots{}}
|
||||
@code{nano [OPTION]@dots{} [[+LINE[,COLUMN]|+[crCR]@{/|?@}STRING] FILE]@dots{}}
|
||||
@end example
|
||||
@blankline
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user