Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/director tests/libcurses: remove undocum...



details:   https://anonhg.NetBSD.org/src/rev/81f789fddd0e
branches:  trunk
changeset: 952336:81f789fddd0e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Feb 13 08:26:12 2021 +0000

description:
tests/libcurses: remove undocumented, unused command line option

The option -T has the same effect as the removed option -p.

diffstat:

 tests/lib/libcurses/director/director.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r e950d573196d -r 81f789fddd0e tests/lib/libcurses/director/director.c
--- a/tests/lib/libcurses/director/director.c   Sat Feb 13 08:22:34 2021 +0000
+++ b/tests/lib/libcurses/director/director.c   Sat Feb 13 08:26:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: director.c,v 1.26 2021/02/13 08:22:34 rillig Exp $     */
+/*     $NetBSD: director.c,v 1.27 2021/02/13 08:26:12 rillig Exp $     */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -138,7 +138,7 @@
        verbose = 0;
        check_file_flag = 0;
 
-       while ((ch = getopt(argc, argv, "vgfC:p:s:t:T:")) != -1) {
+       while ((ch = getopt(argc, argv, "vgfC:s:t:T:")) != -1) {
                switch (ch) {
                case 'C':
                        check_path = optarg;
@@ -146,9 +146,6 @@
                case 'T':
                        termpath = optarg;
                        break;
-               case 'p':
-                       termpath = optarg;
-                       break;
                case 's':
                        slave = optarg;
                        break;



Home | Main Index | Thread Index | Old Index