summaryrefslogtreecommitdiff
path: root/test/hanoi.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hanoi.c')
-rw-r--r--test/hanoi.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/hanoi.c b/test/hanoi.c
index 6d92332fa095..06cea3fd2a4c 100644
--- a/test/hanoi.c
+++ b/test/hanoi.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright 2019-2021,2022 Thomas E. Dickey *
+ * Copyright 2019-2022,2025 Thomas E. Dickey *
* Copyright 1998-2014,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@@ -42,7 +42,7 @@
*
* Date: 05.Nov.90
*
- * $Id: hanoi.c,v 1.47 2022/12/04 00:40:11 tom Exp $
+ * $Id: hanoi.c,v 1.48 2025/07/05 15:21:56 tom Exp $
*/
#include <test.priv.h>
@@ -289,11 +289,8 @@ main(int argc, char **argv)
case 'X':
AutoFlag = TRUE;
break;
- case OPTS_VERSION:
- show_version(argv);
- ExitProgram(EXIT_SUCCESS);
default:
- usage(ch == OPTS_USAGE);
+ CASE_COMMON;
/* NOTREACHED */
}
}