summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-01-15 12:43:34 +0000
committerdavidovski <david@davidovski.xyz>2023-01-15 12:43:34 +0000
commit93d6d462605d90cd5ef216254522bb22500b6b42 (patch)
treedac49a111ae4386e022cbe83e877f30d7a0ac123
parente267f2307d5756c44c81c4bfb5de89ad7326bcc8 (diff)
Fix getopt list of argsHEADmaster
-rw-r--r--stty.c4
1 files changed, 2 insertions, 2 deletions
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;