Remove deprecated option --version:paste

This should have been deleted before the 5.0.0 release.
This commit is contained in:
nhkeni
2026-06-20 19:43:26 -04:00
parent 6808e87869
commit 7c694ad785
2 changed files with 3 additions and 6 deletions
+1
View File
@@ -66,6 +66,7 @@ when hero's behavior makes erinyes stronger, cap level at 49 rather than 50
with inventory item action for leash, distingluish leash-in-use from empty one
deafness check was missing from a shopkeeper message in ready_weapon()
thrown ball travel did not check for regions (pr #1595 by copperwater)
remove deprecated option --version:paste
Platform- and/or Interface-Specific Fixes
+2 -6
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 earlyarg.c $NHDT-Date: 1781973047 2026/06/20 16:30:47 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $ */
/* NetHack 5.0 earlyarg.c $NHDT-Date: 1782016695 2026/06/20 23:38:15 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $ */
/* Copyright (c) Robert Patrick Rankin, 2012. */
/* NetHack may be freely redistributed. See license for details. */
@@ -498,11 +498,7 @@ argcheck(int argc, char *argv[], enum earlyarg e_arg)
if (extended_opt) {
extended_opt++;
/* Deprecated in favor of "copy" - remove no later
than next major version */
if (match_optname(extended_opt, "paste", 5, FALSE)) {
insert_into_pastebuf = TRUE;
} else if (match_optname(extended_opt, "copy", 4, FALSE)) {
if (match_optname(extended_opt, "copy", 4, FALSE)) {
insert_into_pastebuf = TRUE;
} else if (match_optname(extended_opt, "dump", 4, FALSE)) {
/* version number plus enabled features and sanity