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/b5cbbcc7e583
branches:  trunk
changeset: 959414:b5cbbcc7e583
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 0fb767af7f3f -r b5cbbcc7e583 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