From 93d6d462605d90cd5ef216254522bb22500b6b42 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 15 Jan 2023 12:43:34 +0000 Subject: Fix getopt list of args --- stty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stty.c') diff --git a/stty.c b/stty.c index 15b5860..26d0028 100644 --- a/stty.c +++ b/stty.c @@ -69,8 +69,8 @@ main(int argc, char *argv[]) opterr = 0; while (optind < argc && - strspn(argv[optind], "-aefg") == strlen(argv[optind]) && - (ch = getopt(argc, argv, "aef:g")) != -1) + strspn(argv[optind], "-aefFg") == strlen(argv[optind]) && + (ch = getopt(argc, argv, "aefF:g")) != -1) switch(ch) { case 'a': /* undocumented: POSIX compatibility */ fmt = POSIX; -- cgit v1.2.1