summaryrefslogtreecommitdiff
path: root/posix/globtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/globtest.c')
-rw-r--r--posix/globtest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/posix/globtest.c b/posix/globtest.c
index 37b1fd07e9..970d90a31c 100644
--- a/posix/globtest.c
+++ b/posix/globtest.c
@@ -29,7 +29,7 @@ main (int argc, char *argv[])
glob_t g;
int quotes = 1;
- while ((i = getopt (argc, argv, "bcdegmopqst")) != -1)
+ while ((i = getopt (argc, argv, "bcdegmopqstT")) != -1)
switch(i)
{
case 'b':
@@ -66,6 +66,9 @@ main (int argc, char *argv[])
case 't':
glob_flags |= GLOB_TILDE;
break;
+ case 'T':
+ glob_flags |= GLOB_TILDE_CHECK;
+ break;
default:
exit (-1);
}