(show_opts): Revert rev. 1.13 `Pretend SHIPNAMES still exists...'
Clients had four months to adapt. Moreover, there have been other changes that could well break clients, so backward compatibility is gone anyway.
This commit is contained in:
parent
3700e33494
commit
91f88cf2ba
1 changed files with 0 additions and 15 deletions
|
@ -249,19 +249,4 @@ show_opts(int val)
|
||||||
pr("%s%s", sep, kp->km_key);
|
pr("%s%s", sep, kp->km_key);
|
||||||
sep = ", ";
|
sep = ", ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* OBSOLETE: Ships used to be printed differently depending on
|
|
||||||
* option SHIPNAMES. Clients had to know whether SHIPNAMES was on
|
|
||||||
* to parse this. To ease the transition, pretend the option
|
|
||||||
* still exists.
|
|
||||||
*/
|
|
||||||
if (val) {
|
|
||||||
col += strlen(sep) + 9;
|
|
||||||
if (col > 70) {
|
|
||||||
pr(",\n ");
|
|
||||||
sep = "";
|
|
||||||
}
|
|
||||||
pr("%sSHIPNAMES", sep);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue