options: remove the deprecated synonym -$ of -S/--softwrap

The old short option -$ has been deprecated for four years,
since version 5.0, commit 7d3aad40.
This commit is contained in:
Benno Schulenberg 2024-05-31 12:45:18 +02:00
parent a590645cde
commit c26f901ba9
3 changed files with 1 additions and 4 deletions

View File

@ -201,7 +201,6 @@ with any name beginning with 'r' (e.g. "rnano").
Display over multiple screen rows lines that exceed the screen's width.
(You can make this soft-wrapping occur at whitespace instead of rudely at
the screen's edge, by using also \fB\-\-atblanks\fR.)
(The old short option, \fB\-$\fR, is deprecated.)
.TP
.BR \-T\ \fInumber ", " \-\-tabsize= \fInumber
Set the size (width) of a tab to \fInumber\fP columns. The value of

View File

@ -518,7 +518,6 @@ any name beginning with @code{r} (e.g.@: @command{rnano}).
Display over multiple screen rows lines that exceed the screen's width.
(You can make this soft-wrapping occur at whitespace instead of rudely at
the screen's edge, by using also @code{--atblanks}.)
(The old short option, @code{-$}, is deprecated.)
@item -T @var{number}
@itemx --tabsize=@var{number}

View File

@ -1878,7 +1878,7 @@ int main(int argc, char **argv)
else if (*(tail(argv[0])) == 'e')
SET(MODERN_BINDINGS);
while ((optchr = getopt_long(argc, argv, "ABC:DEFGHIJ:KLMNOPQ:RS$T:UVWX:Y:Z"
while ((optchr = getopt_long(argc, argv, "ABC:DEFGHIJ:KLMNOPQ:RST:UVWX:Y:Z"
"abcdef:ghijklmno:pqr:s:tuvwxyz!@%_0/", long_options, NULL)) > 0) {
switch (optchr) {
#ifndef NANO_TINY
@ -1965,7 +1965,6 @@ int main(int argc, char **argv)
break;
#ifndef NANO_TINY
case 'S':
case '$': /* Deprecated; remove in 2024. */
SET(SOFTWRAP);
break;
case 'T':